effect-durable-agent 0.1.0-alpha.18 → 0.1.0-alpha.20
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/{commands-p8venTWs.d.ts → commands-3OD-p8dD.d.ts} +7 -8
- package/dist/{compaction-Db6eoLce.js → compaction-GD1cTPTZ.js} +5 -7
- package/dist/compaction-GD1cTPTZ.js.map +1 -0
- package/dist/{context-projection-Dr_kA41k.d.ts → context-projection-D_uRtK3r.d.ts} +15 -16
- package/dist/{core-C-6xHzRx.d.ts → core-BcimKMIv.d.ts} +1 -2
- package/dist/domain/command-queues.d.ts +3 -4
- package/dist/domain/command-queues.js.map +1 -1
- package/dist/domain/context-projection.d.ts +1 -1
- package/dist/domain/context-projection.js +1 -1
- package/dist/domain/context-projection.js.map +1 -1
- package/dist/domain/message-transcript.d.ts +1 -1
- package/dist/domain/message-transcript.js +1 -1
- package/dist/domain/message-transcript.js.map +1 -1
- package/dist/domain/model-usage.d.ts +1 -1
- package/dist/domain/reduced-state-schema.d.ts +2 -2
- package/dist/domain/reduced-state-schema.js +2 -2
- package/dist/domain/reduced-state-schema.js.map +1 -1
- package/dist/domain/reduced-state.d.ts +2 -2
- package/dist/domain/reduced-state.js +1 -1
- package/dist/domain/run-scheduling.d.ts +1 -1
- package/dist/domain/run-scheduling.js.map +1 -1
- package/dist/{durable-DRY7AcsF.js → durable-CD__3ztN.js} +67 -4
- package/dist/durable-CD__3ztN.js.map +1 -0
- package/dist/{durable-DeQBR5wA.d.ts → durable-CKdCCqhw.d.ts} +1548 -1496
- package/dist/envelope-BCzKUq_z.js.map +1 -1
- package/dist/{envelope-VXFEC8zr.d.ts → envelope-Che6KatU.d.ts} +29 -30
- package/dist/{event-factory-CKuWhjS4.js → event-factory-VAci3NJb.js} +2 -2
- package/dist/{event-factory-CKuWhjS4.js.map → event-factory-VAci3NJb.js.map} +1 -1
- package/dist/{events-D3OAPXgS.d.ts → events-BWuvzVml.d.ts} +124 -122
- package/dist/{id-generator--x6itQZ2.d.ts → id-generator-BKGoKjt-.d.ts} +2 -3
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/{keep-alive-Chl5SJxy.d.ts → keep-alive-_zFCUvt3.d.ts} +1 -2
- package/dist/{model-resolver-ci5D5WQv.d.ts → model-resolver-BfM5YA6A.d.ts} +5 -5
- package/dist/{model-usage-CNcnhj72.d.ts → model-usage-0GeHwaaU.d.ts} +2 -3
- package/dist/{reduced-state-xY-tYuGo.d.ts → reduced-state-4FSWDdgT.d.ts} +8215 -8010
- package/dist/{reduced-state-DFIYylAq.js → reduced-state-Vuud6LCM.js} +2 -2
- package/dist/reduced-state-Vuud6LCM.js.map +1 -0
- package/dist/{reduced-state-schema-CgW0mzpS.d.ts → reduced-state-schema-jyZWJ0QS.d.ts} +170 -152
- package/dist/{reducer-registry-bRbc4COf.d.ts → reducer-registry-BIhncOHH.d.ts} +8 -7
- package/dist/{run-scheduling-wakeup-CY5hfgMR.d.ts → run-scheduling-wakeup-BH2pHE0U.d.ts} +2 -3
- package/dist/services/compaction.d.ts +1 -1
- package/dist/services/compaction.js +1 -1
- package/dist/services/id-generator.d.ts +1 -1
- package/dist/services/id-generator.js +2 -1
- package/dist/services/id-generator.js.map +1 -1
- package/dist/services/keep-alive.d.ts +1 -1
- package/dist/services/keep-alive.js.map +1 -1
- package/dist/services/model-resolver.d.ts +1 -1
- package/dist/services/model-resolver.js +1 -1
- package/dist/services/model-resolver.js.map +1 -1
- package/dist/services/prompt-projector.d.ts +1 -1
- package/dist/services/prompt-projector.js +1 -1
- package/dist/services/prompt-projector.js.map +1 -1
- package/dist/services/reducer-registry.d.ts +1 -1
- package/dist/services/reducer-registry.js.map +1 -1
- package/dist/services/run-scheduler.d.ts +1 -1
- package/dist/services/run-scheduler.js +1 -1
- package/dist/services/run-scheduler.js.map +1 -1
- package/dist/services/run-scheduling-wakeup.d.ts +1 -1
- package/dist/services/run-scheduling-wakeup.js.map +1 -1
- package/dist/services/runtime-layer.d.ts +14 -31
- package/dist/services/runtime-layer.js +6 -6
- package/dist/services/runtime-layer.js.map +1 -1
- package/dist/services/runtime.d.ts +1 -1
- package/dist/services/runtime.js +2 -2
- package/dist/services/runtime.js.map +1 -1
- package/dist/services/session-event-observer.d.ts +1 -1
- package/dist/services/session-event-observer.js.map +1 -1
- package/dist/services/session-query.d.ts +1 -1
- package/dist/services/session-query.js +6 -8
- package/dist/services/session-query.js.map +1 -1
- package/dist/services/session-state.d.ts +1 -1
- package/dist/services/session-state.js +1 -1
- package/dist/services/session-store.d.ts +1 -1
- package/dist/services/session-store.js +10 -8
- package/dist/services/session-store.js.map +1 -1
- package/dist/services/sink-checkpoint-store.d.ts +1 -1
- package/dist/services/sink-checkpoint-store.js +2 -1
- package/dist/services/sink-checkpoint-store.js.map +1 -1
- package/dist/services/sink-registry.d.ts +1 -1
- package/dist/services/sink-registry.js +1 -1
- package/dist/services/tool-registry.d.ts +1 -1
- package/dist/services/tool-registry.js +2 -2
- package/dist/services/tool-registry.js.map +1 -1
- package/dist/services/tracing.d.ts +3 -3
- package/dist/services/tracing.js +1 -1
- package/dist/services/tracing.js.map +1 -1
- package/dist/{session-event-observer-BWppl2Fr.d.ts → session-event-observer-BdZltdrK.d.ts} +3 -3
- package/dist/{session-state-8PJZvuR3.js → session-state-BAzdzqV4.js} +92 -59
- package/dist/session-state-BAzdzqV4.js.map +1 -0
- package/dist/{session-store-CERvTeaV.d.ts → session-store-BpitF4Wg.d.ts} +9 -9
- package/dist/{sink-checkpoint-store-DTiswoqy.d.ts → sink-checkpoint-store-C-SY0cG2.d.ts} +3 -4
- package/dist/{sink-registry-B4yxTmlI.js → sink-registry-BnWfMABI.js} +5 -5
- package/dist/sink-registry-BnWfMABI.js.map +1 -0
- package/dist/testkit/layers.d.ts +15 -15
- package/dist/testkit/layers.js +9 -6
- package/dist/testkit/layers.js.map +1 -1
- package/dist/{tool-registry-D4ALie3K.d.ts → tool-registry-wPsHagF_.d.ts} +7 -7
- package/dist/{tracing-BXHAkxkx.d.ts → tracing-BwjbF285.d.ts} +1 -2
- package/dist/types/commands.d.ts +1 -1
- package/dist/types/commands.js +1 -1
- package/dist/types/commands.js.map +1 -1
- package/dist/types/core.d.ts +1 -1
- package/dist/types/core.js.map +1 -1
- package/dist/types/events/durable.d.ts +1 -1
- package/dist/types/events/durable.js +1 -1
- package/dist/types/events.d.ts +4 -4
- package/dist/types/events.js +1 -1
- package/dist/types/tracing.d.ts +1 -1
- package/dist/types/tracing.js.map +1 -1
- package/dist/websocket.d.ts +204 -187
- package/dist/websocket.js +5 -4
- package/dist/websocket.js.map +1 -1
- package/package.json +12 -12
- package/dist/compaction-Db6eoLce.js.map +0 -1
- package/dist/durable-DRY7AcsF.js.map +0 -1
- package/dist/reduced-state-DFIYylAq.js.map +0 -1
- package/dist/session-state-8PJZvuR3.js.map +0 -1
- package/dist/sink-registry-B4yxTmlI.js.map +0 -1
package/dist/websocket.d.ts
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { c as StopTurnCommand, l as SubmitMessageCommand, o as PromotePendingMessageCommand, s as ResumePendingMessagesCommand, t as CancelPendingMessageCommand } from "./commands-
|
|
2
|
-
import { h as SequenceNumber } from "./core-
|
|
3
|
-
import { f as PositionedEvent, i as EventEnvelope } from "./envelope-
|
|
1
|
+
import { c as StopTurnCommand, l as SubmitMessageCommand, o as PromotePendingMessageCommand, s as ResumePendingMessagesCommand, t as CancelPendingMessageCommand } from "./commands-3OD-p8dD.js";
|
|
2
|
+
import { h as SequenceNumber } from "./core-BcimKMIv.js";
|
|
3
|
+
import { f as PositionedEvent, i as EventEnvelope } from "./envelope-Che6KatU.js";
|
|
4
|
+
import "./events-BWuvzVml.js";
|
|
5
|
+
import "./reduced-state-4FSWDdgT.js";
|
|
4
6
|
import * as Effect from "effect/Effect";
|
|
5
7
|
import * as Schema from "effect/Schema";
|
|
6
|
-
|
|
7
8
|
//#region src/websocket/protocol.d.ts
|
|
8
9
|
/** Current EDA live-event WebSocket wire protocol version. */
|
|
9
10
|
declare const EDA_WEB_SOCKET_WIRE_PROTOCOL_VERSION: 1;
|
|
10
11
|
/** Flow-control policy announced by the server in the hello frame. */
|
|
11
12
|
declare const EDAWebSocketWireFlowControl: Schema.Struct<{
|
|
12
|
-
readonly ackTimeoutMs: Schema.Int;
|
|
13
|
+
readonly ackTimeoutMs: Schema.Int;
|
|
14
|
+
/** Deprecated: servers no longer send heartbeat frames. Kept so deployed clients can decode hello. */
|
|
13
15
|
readonly heartbeatIntervalMs: Schema.Int;
|
|
14
16
|
readonly maxFrameBytes: Schema.Int;
|
|
15
17
|
readonly maxFrameEvents: Schema.Int;
|
|
16
|
-
readonly maxInFlightFrames: Schema.Int;
|
|
18
|
+
readonly maxInFlightFrames: Schema.Int;
|
|
19
|
+
/** Suggested client-originated ping cadence; absent on servers that still send heartbeats. */
|
|
17
20
|
readonly pingIntervalMs: Schema.optionalKey<Schema.Int>;
|
|
18
21
|
readonly subscriberBufferCapacityEvents: Schema.Int;
|
|
19
22
|
}>;
|
|
@@ -43,11 +46,13 @@ declare const EDAWebSocketWireHelloFrame: Schema.Struct<{
|
|
|
43
46
|
readonly subscriberId: Schema.NonEmptyString;
|
|
44
47
|
readonly resumeSeq: Schema.Int;
|
|
45
48
|
readonly flowControl: Schema.Struct<{
|
|
46
|
-
readonly ackTimeoutMs: Schema.Int;
|
|
49
|
+
readonly ackTimeoutMs: Schema.Int;
|
|
50
|
+
/** Deprecated: servers no longer send heartbeat frames. Kept so deployed clients can decode hello. */
|
|
47
51
|
readonly heartbeatIntervalMs: Schema.Int;
|
|
48
52
|
readonly maxFrameBytes: Schema.Int;
|
|
49
53
|
readonly maxFrameEvents: Schema.Int;
|
|
50
|
-
readonly maxInFlightFrames: Schema.Int;
|
|
54
|
+
readonly maxInFlightFrames: Schema.Int;
|
|
55
|
+
/** Suggested client-originated ping cadence; absent on servers that still send heartbeats. */
|
|
51
56
|
readonly pingIntervalMs: Schema.optionalKey<Schema.Int>;
|
|
52
57
|
readonly subscriberBufferCapacityEvents: Schema.Int;
|
|
53
58
|
}>;
|
|
@@ -90,6 +95,28 @@ type EDAWebSocketEventConsumerPolicy<Event extends {
|
|
|
90
95
|
}, Disposition> = Readonly<Record<Event["type"], Disposition>>;
|
|
91
96
|
/** Complete framework-owned event union present on every EDA WebSocket. */
|
|
92
97
|
declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
98
|
+
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
99
|
+
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
100
|
+
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
101
|
+
readonly createdAtMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
|
|
102
|
+
readonly trace: Schema.withConstructorDefault<Schema.Struct<{
|
|
103
|
+
readonly span: Schema.Struct<{
|
|
104
|
+
readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
|
|
105
|
+
readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
|
|
106
|
+
readonly sampled: Schema.Boolean;
|
|
107
|
+
readonly tracestate: Schema.NullOr<Schema.String>;
|
|
108
|
+
}>;
|
|
109
|
+
readonly links: Schema.$Array<Schema.Struct<{
|
|
110
|
+
readonly context: Schema.Struct<{
|
|
111
|
+
readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
|
|
112
|
+
readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
|
|
113
|
+
readonly sampled: Schema.Boolean;
|
|
114
|
+
readonly tracestate: Schema.NullOr<Schema.String>;
|
|
115
|
+
}>;
|
|
116
|
+
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
117
|
+
}>>;
|
|
118
|
+
}>>;
|
|
119
|
+
readonly durability: Schema.Literal<"durable">;
|
|
93
120
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
94
121
|
readonly type: Schema.Literal<"TurnAttemptStarted">;
|
|
95
122
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -98,7 +125,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
98
125
|
readonly turnId: Schema.brand<Schema.String, "TurnId">;
|
|
99
126
|
readonly attemptId: Schema.brand<Schema.String, "InferenceId">;
|
|
100
127
|
}>;
|
|
101
|
-
|
|
128
|
+
}>, Schema.Struct<{
|
|
102
129
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
103
130
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
104
131
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -120,7 +147,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
120
147
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
121
148
|
}>>;
|
|
122
149
|
}>>;
|
|
123
|
-
|
|
150
|
+
readonly durability: Schema.Literal<"durable">;
|
|
124
151
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
125
152
|
readonly type: Schema.Literal<"TurnAttemptCompleted">;
|
|
126
153
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -140,7 +167,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
140
167
|
readonly responseMetadata: Schema.optionalKey<Schema.Unknown>;
|
|
141
168
|
readonly finishMetadata: Schema.optionalKey<Schema.Unknown>;
|
|
142
169
|
}>;
|
|
143
|
-
|
|
170
|
+
}>, Schema.Struct<{
|
|
144
171
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
145
172
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
146
173
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -162,7 +189,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
162
189
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
163
190
|
}>>;
|
|
164
191
|
}>>;
|
|
165
|
-
|
|
192
|
+
readonly durability: Schema.Literal<"durable">;
|
|
166
193
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
167
194
|
readonly type: Schema.Literal<"AssistantMessageCommitted">;
|
|
168
195
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -202,6 +229,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
202
229
|
readonly name: Schema.String;
|
|
203
230
|
readonly isFailure: Schema.Boolean;
|
|
204
231
|
readonly result: Schema.Unknown;
|
|
232
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
205
233
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
206
234
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
207
235
|
}>, Schema.Struct<{
|
|
@@ -212,7 +240,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
212
240
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
213
241
|
}>]>>;
|
|
214
242
|
}>;
|
|
215
|
-
|
|
243
|
+
}>, Schema.Struct<{
|
|
216
244
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
217
245
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
218
246
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -234,7 +262,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
234
262
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
235
263
|
}>>;
|
|
236
264
|
}>>;
|
|
237
|
-
|
|
265
|
+
readonly durability: Schema.Literal<"durable">;
|
|
238
266
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
239
267
|
readonly type: Schema.Literal<"ToolCallCreated">;
|
|
240
268
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -244,16 +272,16 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
244
272
|
readonly attemptId: Schema.brand<Schema.String, "InferenceId">;
|
|
245
273
|
readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
|
|
246
274
|
readonly promptPart: Schema.Struct<{
|
|
247
|
-
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
248
|
-
readonly name: Schema.NonEmptyString;
|
|
249
275
|
readonly type: Schema.Literal<"tool-call">;
|
|
250
276
|
readonly params: Schema.Unknown;
|
|
251
277
|
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
252
278
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
253
279
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
280
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
281
|
+
readonly name: Schema.NonEmptyString;
|
|
254
282
|
}>;
|
|
255
283
|
}>;
|
|
256
|
-
|
|
284
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
257
285
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
258
286
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
259
287
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -275,7 +303,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
275
303
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
276
304
|
}>>;
|
|
277
305
|
}>>;
|
|
278
|
-
|
|
306
|
+
readonly durability: Schema.Literal<"durable">;
|
|
279
307
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
280
308
|
readonly type: Schema.Literal<"SessionConfigured">;
|
|
281
309
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -286,7 +314,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
286
314
|
readonly settings: Schema.optionalKey<Schema.Unknown>;
|
|
287
315
|
}>;
|
|
288
316
|
}>;
|
|
289
|
-
|
|
317
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
290
318
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
291
319
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
292
320
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -308,7 +336,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
308
336
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
309
337
|
}>>;
|
|
310
338
|
}>>;
|
|
311
|
-
|
|
339
|
+
readonly durability: Schema.Literal<"durable">;
|
|
312
340
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
313
341
|
readonly type: Schema.Literal<"RunSchedulingRequested">;
|
|
314
342
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -322,7 +350,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
322
350
|
readonly inputMessageIds: Schema.$Array<Schema.brand<Schema.String, "MessageId">>;
|
|
323
351
|
}>]>;
|
|
324
352
|
}>;
|
|
325
|
-
|
|
353
|
+
}>, Schema.Struct<{
|
|
326
354
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
327
355
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
328
356
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -344,14 +372,14 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
344
372
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
345
373
|
}>>;
|
|
346
374
|
}>>;
|
|
347
|
-
|
|
375
|
+
readonly durability: Schema.Literal<"durable">;
|
|
348
376
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
349
377
|
readonly type: Schema.Literal<"RunSchedulingDelivered">;
|
|
350
378
|
readonly schemaVersion: Schema.Literal<number>;
|
|
351
379
|
readonly payload: Schema.Struct<{
|
|
352
380
|
readonly requestId: Schema.brand<Schema.String, "RunRequestId">;
|
|
353
381
|
}>;
|
|
354
|
-
|
|
382
|
+
}>, Schema.Struct<{
|
|
355
383
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
356
384
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
357
385
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -373,7 +401,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
373
401
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
374
402
|
}>>;
|
|
375
403
|
}>>;
|
|
376
|
-
|
|
404
|
+
readonly durability: Schema.Literal<"durable">;
|
|
377
405
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
378
406
|
readonly type: Schema.Literal<"RunSchedulingInvalidated">;
|
|
379
407
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -381,7 +409,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
381
409
|
readonly requestId: Schema.brand<Schema.String, "RunRequestId">;
|
|
382
410
|
readonly reason: Schema.Literals<readonly ["stopped", "interrupted", "message-cancelled", "ineligible"]>;
|
|
383
411
|
}>;
|
|
384
|
-
|
|
412
|
+
}>, Schema.Struct<{
|
|
385
413
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
386
414
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
387
415
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -403,7 +431,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
403
431
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
404
432
|
}>>;
|
|
405
433
|
}>>;
|
|
406
|
-
|
|
434
|
+
readonly durability: Schema.Literal<"durable">;
|
|
407
435
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
408
436
|
readonly type: Schema.Literal<"RunSchedulingGranted">;
|
|
409
437
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -411,7 +439,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
411
439
|
readonly requestId: Schema.brand<Schema.String, "RunRequestId">;
|
|
412
440
|
readonly runId: Schema.brand<Schema.String, "RunId">;
|
|
413
441
|
}>;
|
|
414
|
-
|
|
442
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
415
443
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
416
444
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
417
445
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -433,14 +461,14 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
433
461
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
434
462
|
}>>;
|
|
435
463
|
}>>;
|
|
436
|
-
|
|
464
|
+
readonly durability: Schema.Literal<"durable">;
|
|
437
465
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
438
466
|
readonly type: Schema.Literal<"CommandAdmitted">;
|
|
439
467
|
readonly schemaVersion: Schema.Literal<number>;
|
|
440
468
|
readonly payload: Schema.Struct<{
|
|
441
469
|
readonly command: Schema.Union<readonly [typeof SubmitMessageCommand, typeof StopTurnCommand, typeof CancelPendingMessageCommand, typeof PromotePendingMessageCommand, typeof ResumePendingMessagesCommand]>;
|
|
442
470
|
}>;
|
|
443
|
-
|
|
471
|
+
}>, Schema.Struct<{
|
|
444
472
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
445
473
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
446
474
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -462,14 +490,14 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
462
490
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
463
491
|
}>>;
|
|
464
492
|
}>>;
|
|
465
|
-
|
|
493
|
+
readonly durability: Schema.Literal<"durable">;
|
|
466
494
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
467
495
|
readonly type: Schema.Literal<"CommandStarted">;
|
|
468
496
|
readonly schemaVersion: Schema.Literal<number>;
|
|
469
497
|
readonly payload: Schema.Struct<{
|
|
470
498
|
readonly commandId: Schema.brand<Schema.String, "CommandId">;
|
|
471
499
|
}>;
|
|
472
|
-
|
|
500
|
+
}>, Schema.Struct<{
|
|
473
501
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
474
502
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
475
503
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -491,14 +519,14 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
491
519
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
492
520
|
}>>;
|
|
493
521
|
}>>;
|
|
494
|
-
|
|
522
|
+
readonly durability: Schema.Literal<"durable">;
|
|
495
523
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
496
524
|
readonly type: Schema.Literal<"CommandCompleted">;
|
|
497
525
|
readonly schemaVersion: Schema.Literal<number>;
|
|
498
526
|
readonly payload: Schema.Struct<{
|
|
499
527
|
readonly commandId: Schema.brand<Schema.String, "CommandId">;
|
|
500
528
|
}>;
|
|
501
|
-
|
|
529
|
+
}>, Schema.Struct<{
|
|
502
530
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
503
531
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
504
532
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -520,7 +548,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
520
548
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
521
549
|
}>>;
|
|
522
550
|
}>>;
|
|
523
|
-
|
|
551
|
+
readonly durability: Schema.Literal<"durable">;
|
|
524
552
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
525
553
|
readonly type: Schema.Literal<"CommandFailed">;
|
|
526
554
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -532,7 +560,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
532
560
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
533
561
|
}>;
|
|
534
562
|
}>;
|
|
535
|
-
|
|
563
|
+
}>, Schema.Struct<{
|
|
536
564
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
537
565
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
538
566
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -554,7 +582,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
554
582
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
555
583
|
}>>;
|
|
556
584
|
}>>;
|
|
557
|
-
|
|
585
|
+
readonly durability: Schema.Literal<"durable">;
|
|
558
586
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
559
587
|
readonly type: Schema.Literal<"CommandCancelled">;
|
|
560
588
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -562,7 +590,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
562
590
|
readonly commandId: Schema.brand<Schema.String, "CommandId">;
|
|
563
591
|
readonly reason: Schema.String;
|
|
564
592
|
}>;
|
|
565
|
-
|
|
593
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
566
594
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
567
595
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
568
596
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -584,7 +612,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
584
612
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
585
613
|
}>>;
|
|
586
614
|
}>>;
|
|
587
|
-
|
|
615
|
+
readonly durability: Schema.Literal<"durable">;
|
|
588
616
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
589
617
|
readonly type: Schema.Literal<"SystemMessageCommitted">;
|
|
590
618
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -592,7 +620,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
592
620
|
readonly messageId: Schema.brand<Schema.String, "MessageId">;
|
|
593
621
|
readonly content: Schema.NonEmptyString;
|
|
594
622
|
}>;
|
|
595
|
-
|
|
623
|
+
}>, Schema.Struct<{
|
|
596
624
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
597
625
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
598
626
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -614,7 +642,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
614
642
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
615
643
|
}>>;
|
|
616
644
|
}>>;
|
|
617
|
-
|
|
645
|
+
readonly durability: Schema.Literal<"durable">;
|
|
618
646
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
619
647
|
readonly type: Schema.Literal<"UserMessageCommitted">;
|
|
620
648
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -640,7 +668,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
640
668
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
641
669
|
}>]>>]>;
|
|
642
670
|
}>;
|
|
643
|
-
|
|
671
|
+
}>, Schema.Struct<{
|
|
644
672
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
645
673
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
646
674
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -662,7 +690,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
662
690
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
663
691
|
}>>;
|
|
664
692
|
}>>;
|
|
665
|
-
|
|
693
|
+
readonly durability: Schema.Literal<"durable">;
|
|
666
694
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
667
695
|
readonly type: Schema.Literal<"SteeringMessageQueued">;
|
|
668
696
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -689,7 +717,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
689
717
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
690
718
|
}>]>>]>;
|
|
691
719
|
}>;
|
|
692
|
-
|
|
720
|
+
}>, Schema.Struct<{
|
|
693
721
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
694
722
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
695
723
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -711,7 +739,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
711
739
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
712
740
|
}>>;
|
|
713
741
|
}>>;
|
|
714
|
-
|
|
742
|
+
readonly durability: Schema.Literal<"durable">;
|
|
715
743
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
716
744
|
readonly type: Schema.Literal<"SteeringMessageCancelled">;
|
|
717
745
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -720,7 +748,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
720
748
|
readonly runId: Schema.brand<Schema.String, "RunId">;
|
|
721
749
|
readonly reason: Schema.String;
|
|
722
750
|
}>;
|
|
723
|
-
|
|
751
|
+
}>, Schema.Struct<{
|
|
724
752
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
725
753
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
726
754
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -742,7 +770,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
742
770
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
743
771
|
}>>;
|
|
744
772
|
}>>;
|
|
745
|
-
|
|
773
|
+
readonly durability: Schema.Literal<"durable">;
|
|
746
774
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
747
775
|
readonly type: Schema.Literal<"UserMessageSubmitted">;
|
|
748
776
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -769,7 +797,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
769
797
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
770
798
|
}>]>>]>;
|
|
771
799
|
}>;
|
|
772
|
-
|
|
800
|
+
}>, Schema.Struct<{
|
|
773
801
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
774
802
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
775
803
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -791,7 +819,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
791
819
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
792
820
|
}>>;
|
|
793
821
|
}>>;
|
|
794
|
-
|
|
822
|
+
readonly durability: Schema.Literal<"durable">;
|
|
795
823
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
796
824
|
readonly type: Schema.Literal<"UserMessagePromoted">;
|
|
797
825
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -801,7 +829,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
801
829
|
readonly from: Schema.Literal<"queue">;
|
|
802
830
|
readonly to: Schema.Literal<"steer">;
|
|
803
831
|
}>;
|
|
804
|
-
|
|
832
|
+
}>, Schema.Struct<{
|
|
805
833
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
806
834
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
807
835
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -823,7 +851,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
823
851
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
824
852
|
}>>;
|
|
825
853
|
}>>;
|
|
826
|
-
|
|
854
|
+
readonly durability: Schema.Literal<"durable">;
|
|
827
855
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
828
856
|
readonly type: Schema.Literal<"UserMessageCancelled">;
|
|
829
857
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -832,7 +860,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
832
860
|
readonly messageId: Schema.brand<Schema.String, "MessageId">;
|
|
833
861
|
readonly reason: Schema.Literals<readonly ["edit", "user-cancel", "clear-paused-queue"]>;
|
|
834
862
|
}>;
|
|
835
|
-
|
|
863
|
+
}>, Schema.Struct<{
|
|
836
864
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
837
865
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
838
866
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -854,7 +882,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
854
882
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
855
883
|
}>>;
|
|
856
884
|
}>>;
|
|
857
|
-
|
|
885
|
+
readonly durability: Schema.Literal<"durable">;
|
|
858
886
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
859
887
|
readonly type: Schema.Literal<"MessageQueuePaused">;
|
|
860
888
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -864,7 +892,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
864
892
|
readonly messageIds: Schema.$Array<Schema.brand<Schema.String, "MessageId">>;
|
|
865
893
|
readonly reason: Schema.Literal<"user-interrupted">;
|
|
866
894
|
}>;
|
|
867
|
-
|
|
895
|
+
}>, Schema.Struct<{
|
|
868
896
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
869
897
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
870
898
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -886,22 +914,22 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
886
914
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
887
915
|
}>>;
|
|
888
916
|
}>>;
|
|
889
|
-
|
|
917
|
+
readonly durability: Schema.Literal<"durable">;
|
|
890
918
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
891
919
|
readonly type: Schema.Literal<"PendingMessagesPaused">;
|
|
892
920
|
readonly schemaVersion: Schema.Literal<number>;
|
|
893
921
|
readonly payload: Schema.Union<readonly [Schema.Struct<{
|
|
894
|
-
readonly runId: Schema.brand<Schema.String, "RunId">;
|
|
895
922
|
readonly interruptionCommandId: Schema.brand<Schema.String, "CommandId">;
|
|
896
923
|
readonly messageIds: Schema.NonEmptyArray<Schema.brand<Schema.String, "MessageId">>;
|
|
897
924
|
readonly reason: Schema.Literal<"user-interrupted">;
|
|
925
|
+
readonly runId: Schema.brand<Schema.String, "RunId">;
|
|
898
926
|
}>, Schema.Struct<{
|
|
899
|
-
readonly runRequestId: Schema.brand<Schema.String, "RunRequestId">;
|
|
900
927
|
readonly interruptionCommandId: Schema.brand<Schema.String, "CommandId">;
|
|
901
928
|
readonly messageIds: Schema.NonEmptyArray<Schema.brand<Schema.String, "MessageId">>;
|
|
902
929
|
readonly reason: Schema.Literal<"user-interrupted">;
|
|
930
|
+
readonly runRequestId: Schema.brand<Schema.String, "RunRequestId">;
|
|
903
931
|
}>]>;
|
|
904
|
-
|
|
932
|
+
}>, Schema.Struct<{
|
|
905
933
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
906
934
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
907
935
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -923,7 +951,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
923
951
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
924
952
|
}>>;
|
|
925
953
|
}>>;
|
|
926
|
-
|
|
954
|
+
readonly durability: Schema.Literal<"durable">;
|
|
927
955
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
928
956
|
readonly type: Schema.Literal<"AssistantMessageCommitted">;
|
|
929
957
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -963,6 +991,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
963
991
|
readonly name: Schema.String;
|
|
964
992
|
readonly isFailure: Schema.Boolean;
|
|
965
993
|
readonly result: Schema.Unknown;
|
|
994
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
966
995
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
967
996
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
968
997
|
}>, Schema.Struct<{
|
|
@@ -973,7 +1002,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
973
1002
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
974
1003
|
}>]>>;
|
|
975
1004
|
}>;
|
|
976
|
-
|
|
1005
|
+
}>, Schema.Struct<{
|
|
977
1006
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
978
1007
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
979
1008
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -995,7 +1024,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
995
1024
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
996
1025
|
}>>;
|
|
997
1026
|
}>>;
|
|
998
|
-
|
|
1027
|
+
readonly durability: Schema.Literal<"durable">;
|
|
999
1028
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1000
1029
|
readonly type: Schema.Literal<"AssistantMessageImported">;
|
|
1001
1030
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1035,6 +1064,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1035
1064
|
readonly name: Schema.String;
|
|
1036
1065
|
readonly isFailure: Schema.Boolean;
|
|
1037
1066
|
readonly result: Schema.Unknown;
|
|
1067
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
1038
1068
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1039
1069
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1040
1070
|
}>, Schema.Struct<{
|
|
@@ -1045,7 +1075,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1045
1075
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1046
1076
|
}>]>>;
|
|
1047
1077
|
}>;
|
|
1048
|
-
|
|
1078
|
+
}>, Schema.Struct<{
|
|
1049
1079
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1050
1080
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1051
1081
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1067,7 +1097,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1067
1097
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1068
1098
|
}>>;
|
|
1069
1099
|
}>>;
|
|
1070
|
-
|
|
1100
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1071
1101
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1072
1102
|
readonly type: Schema.Literal<"AssistantPartialCommitted">;
|
|
1073
1103
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1107,6 +1137,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1107
1137
|
readonly name: Schema.String;
|
|
1108
1138
|
readonly isFailure: Schema.Boolean;
|
|
1109
1139
|
readonly result: Schema.Unknown;
|
|
1140
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
1110
1141
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1111
1142
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1112
1143
|
}>, Schema.Struct<{
|
|
@@ -1118,7 +1149,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1118
1149
|
}>]>>;
|
|
1119
1150
|
readonly reason: Schema.String;
|
|
1120
1151
|
}>;
|
|
1121
|
-
|
|
1152
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1122
1153
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1123
1154
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1124
1155
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1140,7 +1171,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1140
1171
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1141
1172
|
}>>;
|
|
1142
1173
|
}>>;
|
|
1143
|
-
|
|
1174
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1144
1175
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1145
1176
|
readonly type: Schema.Literal<"RunStarted">;
|
|
1146
1177
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1170,7 +1201,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1170
1201
|
}>>;
|
|
1171
1202
|
}>>;
|
|
1172
1203
|
}>;
|
|
1173
|
-
|
|
1204
|
+
}>, Schema.Struct<{
|
|
1174
1205
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1175
1206
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1176
1207
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1192,14 +1223,14 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1192
1223
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1193
1224
|
}>>;
|
|
1194
1225
|
}>>;
|
|
1195
|
-
|
|
1226
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1196
1227
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1197
1228
|
readonly type: Schema.Literal<"RunCompleted">;
|
|
1198
1229
|
readonly schemaVersion: Schema.Literal<number>;
|
|
1199
1230
|
readonly payload: Schema.Struct<{
|
|
1200
1231
|
readonly runId: Schema.brand<Schema.String, "RunId">;
|
|
1201
1232
|
}>;
|
|
1202
|
-
|
|
1233
|
+
}>, Schema.Struct<{
|
|
1203
1234
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1204
1235
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1205
1236
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1221,7 +1252,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1221
1252
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1222
1253
|
}>>;
|
|
1223
1254
|
}>>;
|
|
1224
|
-
|
|
1255
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1225
1256
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1226
1257
|
readonly type: Schema.Literal<"RunFailed">;
|
|
1227
1258
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1233,7 +1264,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1233
1264
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
1234
1265
|
}>;
|
|
1235
1266
|
}>;
|
|
1236
|
-
|
|
1267
|
+
}>, Schema.Struct<{
|
|
1237
1268
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1238
1269
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1239
1270
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1255,7 +1286,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1255
1286
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1256
1287
|
}>>;
|
|
1257
1288
|
}>>;
|
|
1258
|
-
|
|
1289
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1259
1290
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1260
1291
|
readonly type: Schema.Literal<"RunInterrupted">;
|
|
1261
1292
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1263,7 +1294,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1263
1294
|
readonly runId: Schema.brand<Schema.String, "RunId">;
|
|
1264
1295
|
readonly reason: Schema.String;
|
|
1265
1296
|
}>;
|
|
1266
|
-
|
|
1297
|
+
}>]>, Schema.Struct<{
|
|
1267
1298
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1268
1299
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1269
1300
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1285,7 +1316,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1285
1316
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1286
1317
|
}>>;
|
|
1287
1318
|
}>>;
|
|
1288
|
-
|
|
1319
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1289
1320
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1290
1321
|
readonly type: Schema.Literal<"RecoveryCompleted">;
|
|
1291
1322
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1297,7 +1328,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1297
1328
|
readonly replacementRunId: Schema.brand<Schema.String, "RunId">;
|
|
1298
1329
|
}>>;
|
|
1299
1330
|
}>;
|
|
1300
|
-
|
|
1331
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1301
1332
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1302
1333
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1303
1334
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1319,7 +1350,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1319
1350
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1320
1351
|
}>>;
|
|
1321
1352
|
}>>;
|
|
1322
|
-
|
|
1353
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1323
1354
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1324
1355
|
readonly type: Schema.Literal<"TurnStarted">;
|
|
1325
1356
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1328,7 +1359,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1328
1359
|
readonly turnId: Schema.brand<Schema.String, "TurnId">;
|
|
1329
1360
|
readonly inputMessageIds: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "MessageId">>>;
|
|
1330
1361
|
}>;
|
|
1331
|
-
|
|
1362
|
+
}>, Schema.Struct<{
|
|
1332
1363
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1333
1364
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1334
1365
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1350,7 +1381,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1350
1381
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1351
1382
|
}>>;
|
|
1352
1383
|
}>>;
|
|
1353
|
-
|
|
1384
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1354
1385
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1355
1386
|
readonly type: Schema.Literal<"TurnCompleted">;
|
|
1356
1387
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1366,7 +1397,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1366
1397
|
readonly reasoningTokens: Schema.optionalKey<Schema.Int>;
|
|
1367
1398
|
}>>;
|
|
1368
1399
|
}>;
|
|
1369
|
-
|
|
1400
|
+
}>, Schema.Struct<{
|
|
1370
1401
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1371
1402
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1372
1403
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1388,7 +1419,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1388
1419
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1389
1420
|
}>>;
|
|
1390
1421
|
}>>;
|
|
1391
|
-
|
|
1422
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1392
1423
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1393
1424
|
readonly type: Schema.Literal<"TurnFailed">;
|
|
1394
1425
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1401,7 +1432,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1401
1432
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
1402
1433
|
}>;
|
|
1403
1434
|
}>;
|
|
1404
|
-
|
|
1435
|
+
}>, Schema.Struct<{
|
|
1405
1436
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1406
1437
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1407
1438
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1423,7 +1454,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1423
1454
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1424
1455
|
}>>;
|
|
1425
1456
|
}>>;
|
|
1426
|
-
|
|
1457
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1427
1458
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1428
1459
|
readonly type: Schema.Literal<"TurnStopped">;
|
|
1429
1460
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1432,7 +1463,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1432
1463
|
readonly turnId: Schema.brand<Schema.String, "TurnId">;
|
|
1433
1464
|
readonly reason: Schema.String;
|
|
1434
1465
|
}>;
|
|
1435
|
-
|
|
1466
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1436
1467
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1437
1468
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1438
1469
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1454,7 +1485,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1454
1485
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1455
1486
|
}>>;
|
|
1456
1487
|
}>>;
|
|
1457
|
-
|
|
1488
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1458
1489
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1459
1490
|
readonly type: Schema.Literal<"InferenceStarted">;
|
|
1460
1491
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1463,7 +1494,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1463
1494
|
readonly turnId: Schema.brand<Schema.String, "TurnId">;
|
|
1464
1495
|
readonly inferenceId: Schema.brand<Schema.String, "InferenceId">;
|
|
1465
1496
|
}>;
|
|
1466
|
-
|
|
1497
|
+
}>, Schema.Struct<{
|
|
1467
1498
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1468
1499
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1469
1500
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1485,7 +1516,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1485
1516
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1486
1517
|
}>>;
|
|
1487
1518
|
}>>;
|
|
1488
|
-
|
|
1519
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1489
1520
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1490
1521
|
readonly type: Schema.Literal<"InferenceCompleted">;
|
|
1491
1522
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1505,7 +1536,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1505
1536
|
readonly responseMetadata: Schema.optionalKey<Schema.Unknown>;
|
|
1506
1537
|
readonly finishMetadata: Schema.optionalKey<Schema.Unknown>;
|
|
1507
1538
|
}>;
|
|
1508
|
-
|
|
1539
|
+
}>, Schema.Struct<{
|
|
1509
1540
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1510
1541
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1511
1542
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1527,7 +1558,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1527
1558
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1528
1559
|
}>>;
|
|
1529
1560
|
}>>;
|
|
1530
|
-
|
|
1561
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1531
1562
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1532
1563
|
readonly type: Schema.Literal<"InferenceFailed">;
|
|
1533
1564
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1541,7 +1572,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1541
1572
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
1542
1573
|
}>;
|
|
1543
1574
|
}>;
|
|
1544
|
-
|
|
1575
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1545
1576
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1546
1577
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1547
1578
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1563,7 +1594,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1563
1594
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1564
1595
|
}>>;
|
|
1565
1596
|
}>>;
|
|
1566
|
-
|
|
1597
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1567
1598
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1568
1599
|
readonly type: Schema.Literal<"ToolCallCreated">;
|
|
1569
1600
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1573,16 +1604,16 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1573
1604
|
readonly inferenceId: Schema.brand<Schema.String, "InferenceId">;
|
|
1574
1605
|
readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
|
|
1575
1606
|
readonly promptPart: Schema.Struct<{
|
|
1576
|
-
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1577
|
-
readonly name: Schema.NonEmptyString;
|
|
1578
1607
|
readonly type: Schema.Literal<"tool-call">;
|
|
1579
1608
|
readonly params: Schema.Unknown;
|
|
1580
1609
|
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
1581
1610
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1582
1611
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1612
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1613
|
+
readonly name: Schema.NonEmptyString;
|
|
1583
1614
|
}>;
|
|
1584
1615
|
}>;
|
|
1585
|
-
|
|
1616
|
+
}>, Schema.Struct<{
|
|
1586
1617
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1587
1618
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1588
1619
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1604,7 +1635,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1604
1635
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1605
1636
|
}>>;
|
|
1606
1637
|
}>>;
|
|
1607
|
-
|
|
1638
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1608
1639
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1609
1640
|
readonly type: Schema.Literal<"ToolCallRejected">;
|
|
1610
1641
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1614,20 +1645,21 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1614
1645
|
readonly inferenceId: Schema.brand<Schema.String, "InferenceId">;
|
|
1615
1646
|
readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
|
|
1616
1647
|
readonly promptPart: Schema.Struct<{
|
|
1648
|
+
readonly type: Schema.Literal<"tool-result">;
|
|
1649
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
1650
|
+
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1651
|
+
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1652
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1653
|
+
readonly name: Schema.NonEmptyString;
|
|
1617
1654
|
readonly isFailure: Schema.Literal<true>;
|
|
1618
1655
|
readonly result: Schema.Struct<{
|
|
1619
1656
|
readonly message: Schema.String;
|
|
1620
1657
|
readonly reason: Schema.Literals<readonly ["unknown-tool", "invalid-params"]>;
|
|
1621
1658
|
readonly modelFeedback: Schema.NonEmptyString;
|
|
1622
1659
|
}>;
|
|
1623
|
-
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1624
|
-
readonly name: Schema.NonEmptyString;
|
|
1625
|
-
readonly type: Schema.Literal<"tool-result">;
|
|
1626
|
-
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1627
|
-
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1628
1660
|
}>;
|
|
1629
1661
|
}>;
|
|
1630
|
-
|
|
1662
|
+
}>, Schema.Struct<{
|
|
1631
1663
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1632
1664
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1633
1665
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1649,14 +1681,14 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1649
1681
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1650
1682
|
}>>;
|
|
1651
1683
|
}>>;
|
|
1652
|
-
|
|
1684
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1653
1685
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1654
1686
|
readonly type: Schema.Literal<"ToolCallStarted">;
|
|
1655
1687
|
readonly schemaVersion: Schema.Literal<number>;
|
|
1656
1688
|
readonly payload: Schema.Struct<{
|
|
1657
1689
|
readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
|
|
1658
1690
|
}>;
|
|
1659
|
-
|
|
1691
|
+
}>, Schema.Struct<{
|
|
1660
1692
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1661
1693
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1662
1694
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1678,23 +1710,24 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1678
1710
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1679
1711
|
}>>;
|
|
1680
1712
|
}>>;
|
|
1681
|
-
|
|
1713
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1682
1714
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1683
1715
|
readonly type: Schema.Literal<"ToolCallCompleted">;
|
|
1684
1716
|
readonly schemaVersion: Schema.Literal<number>;
|
|
1685
1717
|
readonly payload: Schema.Struct<{
|
|
1686
1718
|
readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
|
|
1687
1719
|
readonly promptPart: Schema.Struct<{
|
|
1688
|
-
readonly isFailure: Schema.Literal<false>;
|
|
1689
|
-
readonly result: Schema.Unknown;
|
|
1690
|
-
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1691
|
-
readonly name: Schema.NonEmptyString;
|
|
1692
1720
|
readonly type: Schema.Literal<"tool-result">;
|
|
1721
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
1693
1722
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1694
1723
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1724
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1725
|
+
readonly name: Schema.NonEmptyString;
|
|
1726
|
+
readonly isFailure: Schema.Literal<false>;
|
|
1727
|
+
readonly result: Schema.Unknown;
|
|
1695
1728
|
}>;
|
|
1696
1729
|
}>;
|
|
1697
|
-
|
|
1730
|
+
}>, Schema.Struct<{
|
|
1698
1731
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1699
1732
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1700
1733
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1716,7 +1749,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1716
1749
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1717
1750
|
}>>;
|
|
1718
1751
|
}>>;
|
|
1719
|
-
|
|
1752
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1720
1753
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1721
1754
|
readonly type: Schema.Literal<"ToolCallFailed">;
|
|
1722
1755
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1728,20 +1761,21 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1728
1761
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
1729
1762
|
}>>;
|
|
1730
1763
|
readonly promptPart: Schema.Struct<{
|
|
1764
|
+
readonly type: Schema.Literal<"tool-result">;
|
|
1765
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
1766
|
+
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1767
|
+
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1768
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1769
|
+
readonly name: Schema.NonEmptyString;
|
|
1731
1770
|
readonly isFailure: Schema.Literal<true>;
|
|
1732
1771
|
readonly result: Schema.Struct<{
|
|
1733
1772
|
readonly message: Schema.String;
|
|
1734
1773
|
readonly code: Schema.optionalKey<Schema.String>;
|
|
1735
1774
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
1736
1775
|
}>;
|
|
1737
|
-
readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
1738
|
-
readonly name: Schema.NonEmptyString;
|
|
1739
|
-
readonly type: Schema.Literal<"tool-result">;
|
|
1740
|
-
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
1741
|
-
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
1742
1776
|
}>;
|
|
1743
1777
|
}>;
|
|
1744
|
-
|
|
1778
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1745
1779
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1746
1780
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1747
1781
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1763,7 +1797,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1763
1797
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1764
1798
|
}>>;
|
|
1765
1799
|
}>>;
|
|
1766
|
-
|
|
1800
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1767
1801
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1768
1802
|
readonly type: Schema.Literal<"StopTurnRequested">;
|
|
1769
1803
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1772,7 +1806,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1772
1806
|
readonly runId: Schema.optionalKey<Schema.brand<Schema.String, "RunId">>;
|
|
1773
1807
|
readonly turnId: Schema.optionalKey<Schema.brand<Schema.String, "TurnId">>;
|
|
1774
1808
|
}>;
|
|
1775
|
-
|
|
1809
|
+
}>, Schema.Struct<{
|
|
1776
1810
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1777
1811
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1778
1812
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1794,7 +1828,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1794
1828
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1795
1829
|
}>>;
|
|
1796
1830
|
}>>;
|
|
1797
|
-
|
|
1831
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1798
1832
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1799
1833
|
readonly type: Schema.Literal<"StopTurnApplied">;
|
|
1800
1834
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1804,7 +1838,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1804
1838
|
readonly turnId: Schema.brand<Schema.String, "TurnId">;
|
|
1805
1839
|
readonly inferenceId: Schema.optionalKey<Schema.brand<Schema.String, "InferenceId">>;
|
|
1806
1840
|
}>;
|
|
1807
|
-
|
|
1841
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1808
1842
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1809
1843
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1810
1844
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1826,7 +1860,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1826
1860
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1827
1861
|
}>>;
|
|
1828
1862
|
}>>;
|
|
1829
|
-
|
|
1863
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1830
1864
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1831
1865
|
readonly type: Schema.Literal<"ContextProjected">;
|
|
1832
1866
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1834,7 +1868,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1834
1868
|
readonly contextVersion: Schema.brand<Schema.Int, "ContextVersion">;
|
|
1835
1869
|
readonly throughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
1836
1870
|
}>;
|
|
1837
|
-
|
|
1871
|
+
}>, Schema.Struct<{
|
|
1838
1872
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1839
1873
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1840
1874
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1856,7 +1890,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1856
1890
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1857
1891
|
}>>;
|
|
1858
1892
|
}>>;
|
|
1859
|
-
|
|
1893
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1860
1894
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1861
1895
|
readonly type: Schema.Literal<"CompactionRequested">;
|
|
1862
1896
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1865,7 +1899,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1865
1899
|
readonly sourceFromSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
1866
1900
|
readonly sourceToSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
1867
1901
|
}>;
|
|
1868
|
-
|
|
1902
|
+
}>, Schema.Struct<{
|
|
1869
1903
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1870
1904
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1871
1905
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1887,14 +1921,14 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1887
1921
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1888
1922
|
}>>;
|
|
1889
1923
|
}>>;
|
|
1890
|
-
|
|
1924
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1891
1925
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1892
1926
|
readonly type: Schema.Literal<"CompactionStarted">;
|
|
1893
1927
|
readonly schemaVersion: Schema.Literal<number>;
|
|
1894
1928
|
readonly payload: Schema.Struct<{
|
|
1895
1929
|
readonly compactionId: Schema.brand<Schema.String, "CompactionId">;
|
|
1896
1930
|
}>;
|
|
1897
|
-
|
|
1931
|
+
}>, Schema.Struct<{
|
|
1898
1932
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1899
1933
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1900
1934
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1916,7 +1950,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1916
1950
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1917
1951
|
}>>;
|
|
1918
1952
|
}>>;
|
|
1919
|
-
|
|
1953
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1920
1954
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1921
1955
|
readonly type: Schema.Literal<"SummaryCreated">;
|
|
1922
1956
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1927,7 +1961,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1927
1961
|
readonly sourceToSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
1928
1962
|
readonly summary: Schema.Unknown;
|
|
1929
1963
|
}>;
|
|
1930
|
-
|
|
1964
|
+
}>, Schema.Struct<{
|
|
1931
1965
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1932
1966
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1933
1967
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1949,7 +1983,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1949
1983
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1950
1984
|
}>>;
|
|
1951
1985
|
}>>;
|
|
1952
|
-
|
|
1986
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1953
1987
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1954
1988
|
readonly type: Schema.Literal<"CompactionCompleted">;
|
|
1955
1989
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -1969,7 +2003,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1969
2003
|
readonly reasoningTokens: Schema.optionalKey<Schema.Int>;
|
|
1970
2004
|
}>>;
|
|
1971
2005
|
}>;
|
|
1972
|
-
|
|
2006
|
+
}>, Schema.Struct<{
|
|
1973
2007
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
1974
2008
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
1975
2009
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -1991,7 +2025,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
1991
2025
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
1992
2026
|
}>>;
|
|
1993
2027
|
}>>;
|
|
1994
|
-
|
|
2028
|
+
readonly durability: Schema.Literal<"durable">;
|
|
1995
2029
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
1996
2030
|
readonly type: Schema.Literal<"ContextRebased">;
|
|
1997
2031
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2001,7 +2035,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2001
2035
|
readonly contextVersion: Schema.brand<Schema.Int, "ContextVersion">;
|
|
2002
2036
|
readonly retainedFromContextSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2003
2037
|
}>;
|
|
2004
|
-
|
|
2038
|
+
}>, Schema.Struct<{
|
|
2005
2039
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2006
2040
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2007
2041
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2023,7 +2057,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2023
2057
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2024
2058
|
}>>;
|
|
2025
2059
|
}>>;
|
|
2026
|
-
|
|
2060
|
+
readonly durability: Schema.Literal<"durable">;
|
|
2027
2061
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2028
2062
|
readonly type: Schema.Literal<"CompactionFailed">;
|
|
2029
2063
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2048,7 +2082,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2048
2082
|
readonly reasoningTokens: Schema.optionalKey<Schema.Int>;
|
|
2049
2083
|
}>>;
|
|
2050
2084
|
}>;
|
|
2051
|
-
|
|
2085
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2052
2086
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2053
2087
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2054
2088
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2070,7 +2104,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2070
2104
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2071
2105
|
}>>;
|
|
2072
2106
|
}>>;
|
|
2073
|
-
|
|
2107
|
+
readonly durability: Schema.Literal<"durable">;
|
|
2074
2108
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2075
2109
|
readonly type: Schema.Literal<"BaseStateRequested">;
|
|
2076
2110
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2078,7 +2112,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2078
2112
|
readonly baseStateId: Schema.brand<Schema.String, "BaseStateId">;
|
|
2079
2113
|
readonly requestedThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2080
2114
|
}>;
|
|
2081
|
-
|
|
2115
|
+
}>, Schema.Struct<{
|
|
2082
2116
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2083
2117
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2084
2118
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2100,7 +2134,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2100
2134
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2101
2135
|
}>>;
|
|
2102
2136
|
}>>;
|
|
2103
|
-
|
|
2137
|
+
readonly durability: Schema.Literal<"durable">;
|
|
2104
2138
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2105
2139
|
readonly type: Schema.Literal<"BaseStateCreated">;
|
|
2106
2140
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2108,7 +2142,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2108
2142
|
readonly baseStateId: Schema.brand<Schema.String, "BaseStateId">;
|
|
2109
2143
|
readonly coversThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2110
2144
|
}>;
|
|
2111
|
-
|
|
2145
|
+
}>, Schema.Struct<{
|
|
2112
2146
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2113
2147
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2114
2148
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2130,7 +2164,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2130
2164
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2131
2165
|
}>>;
|
|
2132
2166
|
}>>;
|
|
2133
|
-
|
|
2167
|
+
readonly durability: Schema.Literal<"durable">;
|
|
2134
2168
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2135
2169
|
readonly type: Schema.Literal<"BaseStateFailed">;
|
|
2136
2170
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2142,7 +2176,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2142
2176
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
2143
2177
|
}>;
|
|
2144
2178
|
}>;
|
|
2145
|
-
|
|
2179
|
+
}>]>]>]>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2146
2180
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2147
2181
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2148
2182
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2164,7 +2198,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2164
2198
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2165
2199
|
}>>;
|
|
2166
2200
|
}>>;
|
|
2167
|
-
|
|
2201
|
+
readonly durability: Schema.Literal<"ephemeral">;
|
|
2168
2202
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2169
2203
|
readonly type: Schema.Literal<"TextDelta">;
|
|
2170
2204
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2172,7 +2206,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2172
2206
|
readonly providerPartId: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
2173
2207
|
readonly delta: Schema.String;
|
|
2174
2208
|
}>;
|
|
2175
|
-
|
|
2209
|
+
}>, Schema.Struct<{
|
|
2176
2210
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2177
2211
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2178
2212
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2194,7 +2228,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2194
2228
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2195
2229
|
}>>;
|
|
2196
2230
|
}>>;
|
|
2197
|
-
|
|
2231
|
+
readonly durability: Schema.Literal<"ephemeral">;
|
|
2198
2232
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2199
2233
|
readonly type: Schema.Literal<"ReasoningDelta">;
|
|
2200
2234
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2202,7 +2236,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2202
2236
|
readonly providerPartId: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
2203
2237
|
readonly delta: Schema.String;
|
|
2204
2238
|
}>;
|
|
2205
|
-
|
|
2239
|
+
}>, Schema.Struct<{
|
|
2206
2240
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2207
2241
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2208
2242
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2224,7 +2258,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2224
2258
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2225
2259
|
}>>;
|
|
2226
2260
|
}>>;
|
|
2227
|
-
|
|
2261
|
+
readonly durability: Schema.Literal<"ephemeral">;
|
|
2228
2262
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2229
2263
|
readonly type: Schema.Literal<"ToolParamsStart">;
|
|
2230
2264
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2234,7 +2268,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2234
2268
|
readonly toolName: Schema.NonEmptyString;
|
|
2235
2269
|
readonly providerExecuted: Schema.Boolean;
|
|
2236
2270
|
}>;
|
|
2237
|
-
|
|
2271
|
+
}>, Schema.Struct<{
|
|
2238
2272
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2239
2273
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2240
2274
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2256,7 +2290,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2256
2290
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2257
2291
|
}>>;
|
|
2258
2292
|
}>>;
|
|
2259
|
-
|
|
2293
|
+
readonly durability: Schema.Literal<"ephemeral">;
|
|
2260
2294
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2261
2295
|
readonly type: Schema.Literal<"ToolParamsDelta">;
|
|
2262
2296
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2265,7 +2299,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2265
2299
|
readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
|
|
2266
2300
|
readonly delta: Schema.String;
|
|
2267
2301
|
}>;
|
|
2268
|
-
|
|
2302
|
+
}>, Schema.Struct<{
|
|
2269
2303
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2270
2304
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2271
2305
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2287,7 +2321,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2287
2321
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2288
2322
|
}>>;
|
|
2289
2323
|
}>>;
|
|
2290
|
-
|
|
2324
|
+
readonly durability: Schema.Literal<"ephemeral">;
|
|
2291
2325
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2292
2326
|
readonly type: Schema.Literal<"ToolParamsEnd">;
|
|
2293
2327
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2295,7 +2329,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2295
2329
|
readonly providerPartId: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
|
|
2296
2330
|
readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
|
|
2297
2331
|
}>;
|
|
2298
|
-
|
|
2332
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2299
2333
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2300
2334
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2301
2335
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2317,7 +2351,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2317
2351
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2318
2352
|
}>>;
|
|
2319
2353
|
}>>;
|
|
2320
|
-
|
|
2354
|
+
readonly durability: Schema.Literal<"ephemeral">;
|
|
2321
2355
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2322
2356
|
readonly type: Schema.Literal<"SubscriberStatus">;
|
|
2323
2357
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2325,7 +2359,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2325
2359
|
readonly status: Schema.Literals<readonly ["connected", "catching-up", "live", "lagging", "closed"]>;
|
|
2326
2360
|
readonly reason: Schema.optionalKey<Schema.String>;
|
|
2327
2361
|
}>;
|
|
2328
|
-
|
|
2362
|
+
}>, Schema.Struct<{
|
|
2329
2363
|
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2330
2364
|
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2331
2365
|
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
@@ -2347,7 +2381,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2347
2381
|
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2348
2382
|
}>>;
|
|
2349
2383
|
}>>;
|
|
2350
|
-
|
|
2384
|
+
readonly durability: Schema.Literal<"ephemeral">;
|
|
2351
2385
|
readonly namespace: Schema.Literal<"effect-durable-agent">;
|
|
2352
2386
|
readonly type: Schema.Literal<"TraceStatus">;
|
|
2353
2387
|
readonly schemaVersion: Schema.Literal<number>;
|
|
@@ -2356,28 +2390,6 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
|
|
|
2356
2390
|
readonly spanName: Schema.NonEmptyString;
|
|
2357
2391
|
readonly details: Schema.optionalKey<Schema.Unknown>;
|
|
2358
2392
|
}>;
|
|
2359
|
-
readonly durability: Schema.Literal<"ephemeral">;
|
|
2360
|
-
readonly eventId: Schema.brand<Schema.String, "EventId">;
|
|
2361
|
-
readonly sessionId: Schema.brand<Schema.String, "SessionId">;
|
|
2362
|
-
readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
|
|
2363
|
-
readonly createdAtMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
|
|
2364
|
-
readonly trace: Schema.withConstructorDefault<Schema.Struct<{
|
|
2365
|
-
readonly span: Schema.Struct<{
|
|
2366
|
-
readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
|
|
2367
|
-
readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
|
|
2368
|
-
readonly sampled: Schema.Boolean;
|
|
2369
|
-
readonly tracestate: Schema.NullOr<Schema.String>;
|
|
2370
|
-
}>;
|
|
2371
|
-
readonly links: Schema.$Array<Schema.Struct<{
|
|
2372
|
-
readonly context: Schema.Struct<{
|
|
2373
|
-
readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
|
|
2374
|
-
readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
|
|
2375
|
-
readonly sampled: Schema.Boolean;
|
|
2376
|
-
readonly tracestate: Schema.NullOr<Schema.String>;
|
|
2377
|
-
}>;
|
|
2378
|
-
readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
|
|
2379
|
-
}>>;
|
|
2380
|
-
}>>;
|
|
2381
2393
|
}>]>]>]>;
|
|
2382
2394
|
type EDAFrameworkWebSocketEvent = typeof EDAFrameworkWebSocketEvent.Type;
|
|
2383
2395
|
declare const makeEDAWebSocketDomainSchemas: <EventSchema extends Schema.Codec<EventEnvelope, unknown, never, never>>(event: EventSchema) => {
|
|
@@ -2407,11 +2419,13 @@ declare const makeEDAWebSocketDomainSchemas: <EventSchema extends Schema.Codec<E
|
|
|
2407
2419
|
readonly subscriberId: Schema.NonEmptyString;
|
|
2408
2420
|
readonly resumeSeq: Schema.Int;
|
|
2409
2421
|
readonly flowControl: Schema.Struct<{
|
|
2410
|
-
readonly ackTimeoutMs: Schema.Int;
|
|
2422
|
+
readonly ackTimeoutMs: Schema.Int;
|
|
2423
|
+
/** Deprecated: servers no longer send heartbeat frames. Kept so deployed clients can decode hello. */
|
|
2411
2424
|
readonly heartbeatIntervalMs: Schema.Int;
|
|
2412
2425
|
readonly maxFrameBytes: Schema.Int;
|
|
2413
2426
|
readonly maxFrameEvents: Schema.Int;
|
|
2414
|
-
readonly maxInFlightFrames: Schema.Int;
|
|
2427
|
+
readonly maxInFlightFrames: Schema.Int;
|
|
2428
|
+
/** Suggested client-originated ping cadence; absent on servers that still send heartbeats. */
|
|
2415
2429
|
readonly pingIntervalMs: Schema.optionalKey<Schema.Int>;
|
|
2416
2430
|
readonly subscriberBufferCapacityEvents: Schema.Int;
|
|
2417
2431
|
}>;
|
|
@@ -2550,11 +2564,13 @@ declare const EDAWebSocketHostDomain: {
|
|
|
2550
2564
|
readonly subscriberId: Schema.NonEmptyString;
|
|
2551
2565
|
readonly resumeSeq: Schema.Int;
|
|
2552
2566
|
readonly flowControl: Schema.Struct<{
|
|
2553
|
-
readonly ackTimeoutMs: Schema.Int;
|
|
2567
|
+
readonly ackTimeoutMs: Schema.Int;
|
|
2568
|
+
/** Deprecated: servers no longer send heartbeat frames. Kept so deployed clients can decode hello. */
|
|
2554
2569
|
readonly heartbeatIntervalMs: Schema.Int;
|
|
2555
2570
|
readonly maxFrameBytes: Schema.Int;
|
|
2556
2571
|
readonly maxFrameEvents: Schema.Int;
|
|
2557
|
-
readonly maxInFlightFrames: Schema.Int;
|
|
2572
|
+
readonly maxInFlightFrames: Schema.Int;
|
|
2573
|
+
/** Suggested client-originated ping cadence; absent on servers that still send heartbeats. */
|
|
2558
2574
|
readonly pingIntervalMs: Schema.optionalKey<Schema.Int>;
|
|
2559
2575
|
readonly subscriberBufferCapacityEvents: Schema.Int;
|
|
2560
2576
|
}>;
|
|
@@ -2682,8 +2698,6 @@ type EDAWebSocketFlowControl = typeof EDAWebSocketFlowControl.Type;
|
|
|
2682
2698
|
declare const defaultEDAWebSocketFlowControl: EDAWebSocketFlowControl;
|
|
2683
2699
|
/** First server frame; announces protocol and flow-control policy. */
|
|
2684
2700
|
declare const EDAWebSocketHelloFrame: Schema.Struct<{
|
|
2685
|
-
readonly subscriberId: Schema.brand<Schema.NonEmptyString, "SubscriberId">;
|
|
2686
|
-
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2687
2701
|
readonly _tag: Schema.Literal<"hello">;
|
|
2688
2702
|
readonly protocolVersion: Schema.Literal<1>;
|
|
2689
2703
|
readonly flowControl: Schema.Struct<{
|
|
@@ -2695,6 +2709,8 @@ declare const EDAWebSocketHelloFrame: Schema.Struct<{
|
|
|
2695
2709
|
readonly pingIntervalMs: Schema.optionalKey<Schema.Int>;
|
|
2696
2710
|
readonly subscriberBufferCapacityEvents: Schema.Int;
|
|
2697
2711
|
}>;
|
|
2712
|
+
readonly subscriberId: Schema.brand<Schema.NonEmptyString, "SubscriberId">;
|
|
2713
|
+
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2698
2714
|
}>;
|
|
2699
2715
|
type EDAWebSocketHelloFrame = typeof EDAWebSocketHelloFrame.Type;
|
|
2700
2716
|
/** Ordered positioned events delivered to the client. */
|
|
@@ -2746,9 +2762,9 @@ type EDAWebSocketEventsFrame = typeof EDAWebSocketEventsFrame.Type;
|
|
|
2746
2762
|
* {@link EDAWebSocketPingFrame} and the host-level auto-response pong.
|
|
2747
2763
|
*/
|
|
2748
2764
|
declare const EDAWebSocketHeartbeatFrame: Schema.Struct<{
|
|
2765
|
+
readonly _tag: Schema.Literal<"heartbeat">;
|
|
2749
2766
|
readonly serverTimeMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
|
|
2750
2767
|
readonly durableThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2751
|
-
readonly _tag: Schema.Literal<"heartbeat">;
|
|
2752
2768
|
}>;
|
|
2753
2769
|
type EDAWebSocketHeartbeatFrame = typeof EDAWebSocketHeartbeatFrame.Type;
|
|
2754
2770
|
/** Client liveness ping; hosts answer with a pong and never ACK-track it. */
|
|
@@ -2763,9 +2779,9 @@ declare const EDAWebSocketPongFrame: Schema.Struct<{
|
|
|
2763
2779
|
type EDAWebSocketPongFrame = typeof EDAWebSocketPongFrame.Type;
|
|
2764
2780
|
/** Optional final frame sent before a lag-close. */
|
|
2765
2781
|
declare const EDAWebSocketLaggedFrame: Schema.Struct<{
|
|
2766
|
-
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2767
2782
|
readonly _tag: Schema.Literal<"lagged">;
|
|
2768
2783
|
readonly reason: Schema.Literals<readonly ["buffer-overflow", "ack-timeout"]>;
|
|
2784
|
+
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2769
2785
|
}>;
|
|
2770
2786
|
type EDAWebSocketLaggedFrame = typeof EDAWebSocketLaggedFrame.Type;
|
|
2771
2787
|
/** Optional final frame sent before a protocol/internal close. */
|
|
@@ -2776,8 +2792,6 @@ declare const EDAWebSocketErrorFrame: Schema.Struct<{
|
|
|
2776
2792
|
type EDAWebSocketErrorFrame = typeof EDAWebSocketErrorFrame.Type;
|
|
2777
2793
|
/** Server-to-client application frame union. */
|
|
2778
2794
|
declare const EDAWebSocketServerFrame: Schema.Union<readonly [Schema.Struct<{
|
|
2779
|
-
readonly subscriberId: Schema.brand<Schema.NonEmptyString, "SubscriberId">;
|
|
2780
|
-
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2781
2795
|
readonly _tag: Schema.Literal<"hello">;
|
|
2782
2796
|
readonly protocolVersion: Schema.Literal<1>;
|
|
2783
2797
|
readonly flowControl: Schema.Struct<{
|
|
@@ -2789,6 +2803,8 @@ declare const EDAWebSocketServerFrame: Schema.Union<readonly [Schema.Struct<{
|
|
|
2789
2803
|
readonly pingIntervalMs: Schema.optionalKey<Schema.Int>;
|
|
2790
2804
|
readonly subscriberBufferCapacityEvents: Schema.Int;
|
|
2791
2805
|
}>;
|
|
2806
|
+
readonly subscriberId: Schema.brand<Schema.NonEmptyString, "SubscriberId">;
|
|
2807
|
+
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2792
2808
|
}>, Schema.Struct<{
|
|
2793
2809
|
readonly _tag: Schema.Literal<"events">;
|
|
2794
2810
|
readonly frameId: Schema.brand<Schema.Int, "FrameId">;
|
|
@@ -2828,15 +2844,15 @@ declare const EDAWebSocketServerFrame: Schema.Union<readonly [Schema.Struct<{
|
|
|
2828
2844
|
}>>;
|
|
2829
2845
|
readonly durableThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2830
2846
|
}>, Schema.Struct<{
|
|
2847
|
+
readonly _tag: Schema.Literal<"heartbeat">;
|
|
2831
2848
|
readonly serverTimeMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
|
|
2832
2849
|
readonly durableThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2833
|
-
readonly _tag: Schema.Literal<"heartbeat">;
|
|
2834
2850
|
}>, Schema.Struct<{
|
|
2835
2851
|
readonly _tag: Schema.Literal<"pong">;
|
|
2836
2852
|
}>, Schema.Struct<{
|
|
2837
|
-
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2838
2853
|
readonly _tag: Schema.Literal<"lagged">;
|
|
2839
2854
|
readonly reason: Schema.Literals<readonly ["buffer-overflow", "ack-timeout"]>;
|
|
2855
|
+
readonly resumeSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2840
2856
|
}>, Schema.Struct<{
|
|
2841
2857
|
readonly _tag: Schema.Literal<"error">;
|
|
2842
2858
|
readonly message: Schema.String;
|
|
@@ -2844,16 +2860,16 @@ declare const EDAWebSocketServerFrame: Schema.Union<readonly [Schema.Struct<{
|
|
|
2844
2860
|
type EDAWebSocketServerFrame = typeof EDAWebSocketServerFrame.Type;
|
|
2845
2861
|
/** Client acknowledgement after applying a server frame. */
|
|
2846
2862
|
declare const EDAWebSocketAckFrame: Schema.Struct<{
|
|
2863
|
+
readonly _tag: Schema.Literal<"ack">;
|
|
2847
2864
|
readonly frameId: Schema.brand<Schema.Int, "FrameId">;
|
|
2848
2865
|
readonly durableThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2849
|
-
readonly _tag: Schema.Literal<"ack">;
|
|
2850
2866
|
}>;
|
|
2851
2867
|
type EDAWebSocketAckFrame = typeof EDAWebSocketAckFrame.Type;
|
|
2852
2868
|
/** Client-to-server application frame union. */
|
|
2853
2869
|
declare const EDAWebSocketClientFrame: Schema.Union<readonly [Schema.Struct<{
|
|
2870
|
+
readonly _tag: Schema.Literal<"ack">;
|
|
2854
2871
|
readonly frameId: Schema.brand<Schema.Int, "FrameId">;
|
|
2855
2872
|
readonly durableThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2856
|
-
readonly _tag: Schema.Literal<"ack">;
|
|
2857
2873
|
}>, Schema.Struct<{
|
|
2858
2874
|
readonly _tag: Schema.Literal<"ping">;
|
|
2859
2875
|
}>]>;
|
|
@@ -2894,7 +2910,8 @@ declare const EDAWebSocketDeliveryCheckpoint: Schema.Struct<{
|
|
|
2894
2910
|
readonly frameId: Schema.brand<Schema.Int, "FrameId">;
|
|
2895
2911
|
readonly durableThroughSeq: Schema.brand<Schema.Int, "SequenceNumber">;
|
|
2896
2912
|
readonly sentAtMs: Schema.Number;
|
|
2897
|
-
}>>;
|
|
2913
|
+
}>>;
|
|
2914
|
+
/** Host-projected receipts waiting behind an earlier client-visible ACK. */
|
|
2898
2915
|
readonly suppressed: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2899
2916
|
readonly fromFrameId: Schema.brand<Schema.Int, "FrameId">;
|
|
2900
2917
|
readonly throughFrameId: Schema.brand<Schema.Int, "FrameId">;
|