effect-durable-agent 0.1.0-alpha.15 → 0.1.0-alpha.17

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.
Files changed (95) hide show
  1. package/dist/{command-queues-CSEl1yrH.d.ts → command-queues-w9WUKTpM.d.ts} +5 -5
  2. package/dist/{compaction-0k8zCJgB.js → compaction-Db6eoLce.js} +3 -3
  3. package/dist/{compaction-0k8zCJgB.js.map → compaction-Db6eoLce.js.map} +1 -1
  4. package/dist/{compaction-DYAlYxx5.d.ts → compaction-DhIJ-sAH.d.ts} +7 -7
  5. package/dist/{context-projection-C43pyxn2.d.ts → context-projection-n6Rdup0N.d.ts} +2 -2
  6. package/dist/domain/command-queues.d.ts +1 -1
  7. package/dist/domain/context-projection.d.ts +1 -1
  8. package/dist/domain/message-transcript.d.ts +1 -1
  9. package/dist/domain/model-usage.d.ts +1 -1
  10. package/dist/domain/model-usage.js +1 -1
  11. package/dist/domain/reduced-state-schema.d.ts +1 -1
  12. package/dist/domain/reduced-state-schema.js +2 -2
  13. package/dist/domain/reduced-state.d.ts +2 -2
  14. package/dist/domain/reduced-state.js +1 -1
  15. package/dist/domain/run-scheduling.d.ts +1 -1
  16. package/dist/{durable-DeLCAvbw.d.ts → durable-Ceu9SC2D.d.ts} +5009 -217
  17. package/dist/{durable-BPHVFVvV.js → durable-DRY7AcsF.js} +108 -8
  18. package/dist/durable-DRY7AcsF.js.map +1 -0
  19. package/dist/{envelope-DxQzo5rN.js → envelope-BCzKUq_z.js} +12 -3
  20. package/dist/envelope-BCzKUq_z.js.map +1 -0
  21. package/dist/{envelope-DkZyMIgp.d.ts → envelope-VXFEC8zr.d.ts} +68 -4
  22. package/dist/{event-factory-EL4szNWm.d.ts → event-factory-CHP1-DAF.d.ts} +3 -3
  23. package/dist/{event-factory-QuC_UvyP.js → event-factory-CKuWhjS4.js} +3 -3
  24. package/dist/{event-factory-QuC_UvyP.js.map → event-factory-CKuWhjS4.js.map} +1 -1
  25. package/dist/{events-LZFNoESe.d.ts → events-D3OAPXgS.d.ts} +22 -22
  26. package/dist/index-DWC70Fsi.d.ts +45026 -0
  27. package/dist/index.d.ts +5 -5
  28. package/dist/index.js +3 -3
  29. package/dist/{message-transcript-CmCHC1Pg.d.ts → message-transcript-BfuGCZhP.d.ts} +3 -3
  30. package/dist/{model-resolver-BPPJAsuh.d.ts → model-resolver-ci5D5WQv.d.ts} +2 -2
  31. package/dist/{model-usage-CdBEkTwU.d.ts → model-usage-CNcnhj72.d.ts} +2 -2
  32. package/dist/{prompt-projector-_Zxe7dlE.d.ts → prompt-projector-DvNHsoEN.d.ts} +4 -4
  33. package/dist/{reduced-state-Bz68V2H8.js → reduced-state-DFIYylAq.js} +56 -57
  34. package/dist/reduced-state-DFIYylAq.js.map +1 -0
  35. package/dist/{reducer-registry-BgtK0NuX.d.ts → reducer-registry-nO4biZlg.d.ts} +7 -4
  36. package/dist/{run-scheduler-BBqZ0Ate.d.ts → run-scheduler-DFBqIRzF.d.ts} +2 -2
  37. package/dist/{run-scheduling-wakeup-DRYZztL6.d.ts → run-scheduling-wakeup-CXT5_CkI.d.ts} +2 -2
  38. package/dist/services/compaction.d.ts +1 -1
  39. package/dist/services/compaction.js +1 -1
  40. package/dist/services/model-resolver.d.ts +1 -1
  41. package/dist/services/prompt-projector.d.ts +1 -1
  42. package/dist/services/reducer-registry.d.ts +1 -1
  43. package/dist/services/reducer-registry.js +19 -6
  44. package/dist/services/reducer-registry.js.map +1 -1
  45. package/dist/services/run-scheduler.d.ts +2 -2
  46. package/dist/services/run-scheduling-wakeup.d.ts +1 -1
  47. package/dist/services/runtime-layer.d.ts +15 -13
  48. package/dist/services/runtime-layer.js +11 -7
  49. package/dist/services/runtime-layer.js.map +1 -1
  50. package/dist/services/runtime.d.ts +1 -1
  51. package/dist/services/runtime.js +6 -7
  52. package/dist/services/runtime.js.map +1 -1
  53. package/dist/services/session-event-observer.d.ts +1 -1
  54. package/dist/services/session-query.d.ts +1 -1
  55. package/dist/services/session-query.js +12 -13
  56. package/dist/services/session-query.js.map +1 -1
  57. package/dist/services/session-state.d.ts +1 -1
  58. package/dist/services/session-state.js +1 -1
  59. package/dist/services/session-store.d.ts +2 -2
  60. package/dist/services/session-store.js +84 -16
  61. package/dist/services/session-store.js.map +1 -1
  62. package/dist/services/sink-checkpoint-store.d.ts +1 -1
  63. package/dist/services/sink-registry.d.ts +1 -1
  64. package/dist/services/sink-registry.js +1 -1
  65. package/dist/services/tool-registry.d.ts +1 -1
  66. package/dist/services/tool-registry.js.map +1 -1
  67. package/dist/services/tracing.d.ts +1 -1
  68. package/dist/{session-event-observer-DaFMKKNc.d.ts → session-event-observer-BWppl2Fr.d.ts} +2 -2
  69. package/dist/{session-state-Dk7Iie-r.js → session-state-8PJZvuR3.js} +28 -20
  70. package/dist/session-state-8PJZvuR3.js.map +1 -0
  71. package/dist/{session-store-DCs--1kc.d.ts → session-store-DBa-TOVH.d.ts} +25 -40
  72. package/dist/{sink-checkpoint-store-CasqHvDz.d.ts → sink-checkpoint-store-BZGfJLve.d.ts} +2 -2
  73. package/dist/{sink-registry-C2XFRBEV.js → sink-registry-B4yxTmlI.js} +33 -8
  74. package/dist/sink-registry-B4yxTmlI.js.map +1 -0
  75. package/dist/{sink-registry-DiZyYd5f.d.ts → sink-registry-tpmJ-Dhf.d.ts} +23 -15
  76. package/dist/testkit/layers.d.ts +15 -16
  77. package/dist/testkit/layers.js +6 -6
  78. package/dist/testkit/layers.js.map +1 -1
  79. package/dist/{tool-registry-CHMtDCJ5.d.ts → tool-registry-NOP9aTHT.d.ts} +11 -4
  80. package/dist/types/events/durable.d.ts +2 -2
  81. package/dist/types/events/durable.js +2 -2
  82. package/dist/types/events.d.ts +4 -4
  83. package/dist/types/events.js +3 -3
  84. package/dist/websocket.d.ts +247 -61
  85. package/dist/websocket.js +2 -2
  86. package/package.json +1 -1
  87. package/dist/durable-BPHVFVvV.js.map +0 -1
  88. package/dist/envelope-DxQzo5rN.js.map +0 -1
  89. package/dist/index-BVVgDSdq.d.ts +0 -1
  90. package/dist/reduced-state-Bz68V2H8.js.map +0 -1
  91. package/dist/runtime-Ca8Qw1fl.d.ts +0 -69
  92. package/dist/session-query-dlbwukcq.d.ts +0 -46
  93. package/dist/session-state-Cb_8YOre.d.ts +0 -895
  94. package/dist/session-state-Dk7Iie-r.js.map +0 -1
  95. package/dist/sink-registry-C2XFRBEV.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { h as SequenceNumber } from "./core-C-6xHzRx.js";
2
- import { d as PositionedEvent, i as EventEnvelope } from "./envelope-DkZyMIgp.js";
2
+ import { f as PositionedEvent, i as EventEnvelope } from "./envelope-VXFEC8zr.js";
3
3
  import { c as StopTurnCommand, l as SubmitMessageCommand, o as PromotePendingMessageCommand, s as ResumePendingMessagesCommand, t as CancelPendingMessageCommand } from "./commands-p8venTWs.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as Schema from "effect/Schema";
@@ -89,8 +89,194 @@ type EDAWebSocketEventConsumerPolicy<Event extends {
89
89
  readonly type: string;
90
90
  }, Disposition> = Readonly<Record<Event["type"], Disposition>>;
91
91
  /** Complete framework-owned event union present on every EDA WebSocket. */
92
- declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
93
- readonly namespace: Schema.Literal<string>;
92
+ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
93
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
94
+ readonly type: Schema.Literal<"TurnAttemptStarted">;
95
+ readonly schemaVersion: Schema.Literal<number>;
96
+ readonly payload: Schema.Struct<{
97
+ readonly runId: Schema.brand<Schema.String, "RunId">;
98
+ readonly turnId: Schema.brand<Schema.String, "TurnId">;
99
+ readonly attemptId: Schema.brand<Schema.String, "InferenceId">;
100
+ }>;
101
+ readonly durability: Schema.Literal<"durable">;
102
+ readonly eventId: Schema.brand<Schema.String, "EventId">;
103
+ readonly sessionId: Schema.brand<Schema.String, "SessionId">;
104
+ readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
105
+ readonly createdAtMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
106
+ readonly trace: Schema.withConstructorDefault<Schema.Struct<{
107
+ readonly span: Schema.Struct<{
108
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
109
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
110
+ readonly sampled: Schema.Boolean;
111
+ readonly tracestate: Schema.NullOr<Schema.String>;
112
+ }>;
113
+ readonly links: Schema.$Array<Schema.Struct<{
114
+ readonly context: Schema.Struct<{
115
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
116
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
117
+ readonly sampled: Schema.Boolean;
118
+ readonly tracestate: Schema.NullOr<Schema.String>;
119
+ }>;
120
+ readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
121
+ }>>;
122
+ }>>;
123
+ }>, Schema.Struct<{
124
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
125
+ readonly type: Schema.Literal<"TurnAttemptCompleted">;
126
+ readonly schemaVersion: Schema.Literal<number>;
127
+ readonly payload: Schema.Struct<{
128
+ readonly runId: Schema.brand<Schema.String, "RunId">;
129
+ readonly turnId: Schema.brand<Schema.String, "TurnId">;
130
+ readonly attemptId: Schema.brand<Schema.String, "InferenceId">;
131
+ readonly finishReason: Schema.optionalKey<Schema.String>;
132
+ readonly usage: Schema.optionalKey<Schema.Struct<{
133
+ readonly inputTokens: Schema.optionalKey<Schema.Int>;
134
+ readonly cachedInputTokens: Schema.optionalKey<Schema.Int>;
135
+ readonly cacheWriteInputTokens: Schema.optionalKey<Schema.Int>;
136
+ readonly outputTokens: Schema.optionalKey<Schema.Int>;
137
+ readonly textTokens: Schema.optionalKey<Schema.Int>;
138
+ readonly reasoningTokens: Schema.optionalKey<Schema.Int>;
139
+ }>>;
140
+ readonly responseMetadata: Schema.optionalKey<Schema.Unknown>;
141
+ readonly finishMetadata: Schema.optionalKey<Schema.Unknown>;
142
+ }>;
143
+ readonly durability: Schema.Literal<"durable">;
144
+ readonly eventId: Schema.brand<Schema.String, "EventId">;
145
+ readonly sessionId: Schema.brand<Schema.String, "SessionId">;
146
+ readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
147
+ readonly createdAtMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
148
+ readonly trace: Schema.withConstructorDefault<Schema.Struct<{
149
+ readonly span: Schema.Struct<{
150
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
151
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
152
+ readonly sampled: Schema.Boolean;
153
+ readonly tracestate: Schema.NullOr<Schema.String>;
154
+ }>;
155
+ readonly links: Schema.$Array<Schema.Struct<{
156
+ readonly context: Schema.Struct<{
157
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
158
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
159
+ readonly sampled: Schema.Boolean;
160
+ readonly tracestate: Schema.NullOr<Schema.String>;
161
+ }>;
162
+ readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
163
+ }>>;
164
+ }>>;
165
+ }>, Schema.Struct<{
166
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
167
+ readonly type: Schema.Literal<"AssistantMessageCommitted">;
168
+ readonly schemaVersion: Schema.Literal<number>;
169
+ readonly payload: Schema.Struct<{
170
+ readonly messageId: Schema.brand<Schema.String, "MessageId">;
171
+ readonly runId: Schema.brand<Schema.String, "RunId">;
172
+ readonly turnId: Schema.brand<Schema.String, "TurnId">;
173
+ readonly attemptId: Schema.brand<Schema.String, "InferenceId">;
174
+ readonly promptParts: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
175
+ readonly type: Schema.Literal<"text">;
176
+ readonly text: Schema.String;
177
+ readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
178
+ readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
179
+ }>, Schema.Struct<{
180
+ readonly type: Schema.Literal<"file">;
181
+ readonly mediaType: Schema.String;
182
+ readonly fileName: Schema.optional<Schema.String>;
183
+ readonly data: Schema.Union<readonly [Schema.String, Schema.Uint8Array, Schema.URL]>;
184
+ readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
185
+ readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
186
+ }>, Schema.Struct<{
187
+ readonly type: Schema.Literal<"reasoning">;
188
+ readonly text: Schema.String;
189
+ readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
190
+ readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
191
+ }>, Schema.Struct<{
192
+ readonly type: Schema.Literal<"tool-call">;
193
+ readonly id: Schema.String;
194
+ readonly name: Schema.String;
195
+ readonly params: Schema.Unknown;
196
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
197
+ readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
198
+ readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
199
+ }>, Schema.Struct<{
200
+ readonly type: Schema.Literal<"tool-result">;
201
+ readonly id: Schema.String;
202
+ readonly name: Schema.String;
203
+ readonly isFailure: Schema.Boolean;
204
+ readonly result: Schema.Unknown;
205
+ readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
206
+ readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
207
+ }>, Schema.Struct<{
208
+ readonly type: Schema.Literal<"tool-approval-request">;
209
+ readonly approvalId: Schema.String;
210
+ readonly toolCallId: Schema.String;
211
+ readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
212
+ readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
213
+ }>]>>;
214
+ }>;
215
+ readonly durability: Schema.Literal<"durable">;
216
+ readonly eventId: Schema.brand<Schema.String, "EventId">;
217
+ readonly sessionId: Schema.brand<Schema.String, "SessionId">;
218
+ readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
219
+ readonly createdAtMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
220
+ readonly trace: Schema.withConstructorDefault<Schema.Struct<{
221
+ readonly span: Schema.Struct<{
222
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
223
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
224
+ readonly sampled: Schema.Boolean;
225
+ readonly tracestate: Schema.NullOr<Schema.String>;
226
+ }>;
227
+ readonly links: Schema.$Array<Schema.Struct<{
228
+ readonly context: Schema.Struct<{
229
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
230
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
231
+ readonly sampled: Schema.Boolean;
232
+ readonly tracestate: Schema.NullOr<Schema.String>;
233
+ }>;
234
+ readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
235
+ }>>;
236
+ }>>;
237
+ }>, Schema.Struct<{
238
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
239
+ readonly type: Schema.Literal<"ToolCallCreated">;
240
+ readonly schemaVersion: Schema.Literal<number>;
241
+ readonly payload: Schema.Struct<{
242
+ readonly runId: Schema.brand<Schema.String, "RunId">;
243
+ readonly turnId: Schema.brand<Schema.String, "TurnId">;
244
+ readonly attemptId: Schema.brand<Schema.String, "InferenceId">;
245
+ readonly toolCallId: Schema.brand<Schema.String, "ToolCallId">;
246
+ readonly promptPart: Schema.Struct<{
247
+ readonly id: Schema.brand<Schema.NonEmptyString, "ProviderPartId">;
248
+ readonly name: Schema.NonEmptyString;
249
+ readonly type: Schema.Literal<"tool-call">;
250
+ readonly params: Schema.Unknown;
251
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
252
+ readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
253
+ readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
254
+ }>;
255
+ }>;
256
+ readonly durability: Schema.Literal<"durable">;
257
+ readonly eventId: Schema.brand<Schema.String, "EventId">;
258
+ readonly sessionId: Schema.brand<Schema.String, "SessionId">;
259
+ readonly correlationId: Schema.optionalKey<Schema.brand<Schema.String, "CorrelationId">>;
260
+ readonly createdAtMs: Schema.brand<Schema.Int, "UnixEpochMillis">;
261
+ readonly trace: Schema.withConstructorDefault<Schema.Struct<{
262
+ readonly span: Schema.Struct<{
263
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
264
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
265
+ readonly sampled: Schema.Boolean;
266
+ readonly tracestate: Schema.NullOr<Schema.String>;
267
+ }>;
268
+ readonly links: Schema.$Array<Schema.Struct<{
269
+ readonly context: Schema.Struct<{
270
+ readonly traceId: Schema.brand<Schema.String, "EDATraceId">;
271
+ readonly spanId: Schema.brand<Schema.String, "EDASpanId">;
272
+ readonly sampled: Schema.Boolean;
273
+ readonly tracestate: Schema.NullOr<Schema.String>;
274
+ }>;
275
+ readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
276
+ }>>;
277
+ }>>;
278
+ }>]>, Schema.Union<readonly [Schema.Struct<{
279
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
94
280
  readonly type: Schema.Literal<"SessionConfigured">;
95
281
  readonly schemaVersion: Schema.Literal<number>;
96
282
  readonly payload: Schema.Struct<{
@@ -123,7 +309,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
123
309
  }>>;
124
310
  }>>;
125
311
  }>, Schema.Union<readonly [Schema.Struct<{
126
- readonly namespace: Schema.Literal<string>;
312
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
127
313
  readonly type: Schema.Literal<"RunSchedulingRequested">;
128
314
  readonly schemaVersion: Schema.Literal<number>;
129
315
  readonly payload: Schema.Struct<{
@@ -159,7 +345,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
159
345
  }>>;
160
346
  }>>;
161
347
  }>, Schema.Struct<{
162
- readonly namespace: Schema.Literal<string>;
348
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
163
349
  readonly type: Schema.Literal<"RunSchedulingDelivered">;
164
350
  readonly schemaVersion: Schema.Literal<number>;
165
351
  readonly payload: Schema.Struct<{
@@ -188,7 +374,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
188
374
  }>>;
189
375
  }>>;
190
376
  }>, Schema.Struct<{
191
- readonly namespace: Schema.Literal<string>;
377
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
192
378
  readonly type: Schema.Literal<"RunSchedulingInvalidated">;
193
379
  readonly schemaVersion: Schema.Literal<number>;
194
380
  readonly payload: Schema.Struct<{
@@ -218,7 +404,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
218
404
  }>>;
219
405
  }>>;
220
406
  }>, Schema.Struct<{
221
- readonly namespace: Schema.Literal<string>;
407
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
222
408
  readonly type: Schema.Literal<"RunSchedulingGranted">;
223
409
  readonly schemaVersion: Schema.Literal<number>;
224
410
  readonly payload: Schema.Struct<{
@@ -248,7 +434,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
248
434
  }>>;
249
435
  }>>;
250
436
  }>]>, Schema.Union<readonly [Schema.Struct<{
251
- readonly namespace: Schema.Literal<string>;
437
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
252
438
  readonly type: Schema.Literal<"CommandAdmitted">;
253
439
  readonly schemaVersion: Schema.Literal<number>;
254
440
  readonly payload: Schema.Struct<{
@@ -277,7 +463,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
277
463
  }>>;
278
464
  }>>;
279
465
  }>, Schema.Struct<{
280
- readonly namespace: Schema.Literal<string>;
466
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
281
467
  readonly type: Schema.Literal<"CommandStarted">;
282
468
  readonly schemaVersion: Schema.Literal<number>;
283
469
  readonly payload: Schema.Struct<{
@@ -306,7 +492,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
306
492
  }>>;
307
493
  }>>;
308
494
  }>, Schema.Struct<{
309
- readonly namespace: Schema.Literal<string>;
495
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
310
496
  readonly type: Schema.Literal<"CommandCompleted">;
311
497
  readonly schemaVersion: Schema.Literal<number>;
312
498
  readonly payload: Schema.Struct<{
@@ -335,7 +521,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
335
521
  }>>;
336
522
  }>>;
337
523
  }>, Schema.Struct<{
338
- readonly namespace: Schema.Literal<string>;
524
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
339
525
  readonly type: Schema.Literal<"CommandFailed">;
340
526
  readonly schemaVersion: Schema.Literal<number>;
341
527
  readonly payload: Schema.Struct<{
@@ -369,7 +555,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
369
555
  }>>;
370
556
  }>>;
371
557
  }>, Schema.Struct<{
372
- readonly namespace: Schema.Literal<string>;
558
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
373
559
  readonly type: Schema.Literal<"CommandCancelled">;
374
560
  readonly schemaVersion: Schema.Literal<number>;
375
561
  readonly payload: Schema.Struct<{
@@ -399,7 +585,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
399
585
  }>>;
400
586
  }>>;
401
587
  }>]>, Schema.Union<readonly [Schema.Struct<{
402
- readonly namespace: Schema.Literal<string>;
588
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
403
589
  readonly type: Schema.Literal<"SystemMessageCommitted">;
404
590
  readonly schemaVersion: Schema.Literal<number>;
405
591
  readonly payload: Schema.Struct<{
@@ -429,7 +615,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
429
615
  }>>;
430
616
  }>>;
431
617
  }>, Schema.Struct<{
432
- readonly namespace: Schema.Literal<string>;
618
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
433
619
  readonly type: Schema.Literal<"UserMessageCommitted">;
434
620
  readonly schemaVersion: Schema.Literal<number>;
435
621
  readonly payload: Schema.Struct<{
@@ -477,7 +663,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
477
663
  }>>;
478
664
  }>>;
479
665
  }>, Schema.Struct<{
480
- readonly namespace: Schema.Literal<string>;
666
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
481
667
  readonly type: Schema.Literal<"SteeringMessageQueued">;
482
668
  readonly schemaVersion: Schema.Literal<number>;
483
669
  readonly payload: Schema.Struct<{
@@ -526,7 +712,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
526
712
  }>>;
527
713
  }>>;
528
714
  }>, Schema.Struct<{
529
- readonly namespace: Schema.Literal<string>;
715
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
530
716
  readonly type: Schema.Literal<"SteeringMessageCancelled">;
531
717
  readonly schemaVersion: Schema.Literal<number>;
532
718
  readonly payload: Schema.Struct<{
@@ -557,7 +743,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
557
743
  }>>;
558
744
  }>>;
559
745
  }>, Schema.Struct<{
560
- readonly namespace: Schema.Literal<string>;
746
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
561
747
  readonly type: Schema.Literal<"UserMessageSubmitted">;
562
748
  readonly schemaVersion: Schema.Literal<number>;
563
749
  readonly payload: Schema.Struct<{
@@ -606,7 +792,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
606
792
  }>>;
607
793
  }>>;
608
794
  }>, Schema.Struct<{
609
- readonly namespace: Schema.Literal<string>;
795
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
610
796
  readonly type: Schema.Literal<"UserMessagePromoted">;
611
797
  readonly schemaVersion: Schema.Literal<number>;
612
798
  readonly payload: Schema.Struct<{
@@ -638,7 +824,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
638
824
  }>>;
639
825
  }>>;
640
826
  }>, Schema.Struct<{
641
- readonly namespace: Schema.Literal<string>;
827
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
642
828
  readonly type: Schema.Literal<"UserMessageCancelled">;
643
829
  readonly schemaVersion: Schema.Literal<number>;
644
830
  readonly payload: Schema.Struct<{
@@ -669,7 +855,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
669
855
  }>>;
670
856
  }>>;
671
857
  }>, Schema.Struct<{
672
- readonly namespace: Schema.Literal<string>;
858
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
673
859
  readonly type: Schema.Literal<"MessageQueuePaused">;
674
860
  readonly schemaVersion: Schema.Literal<number>;
675
861
  readonly payload: Schema.Struct<{
@@ -701,7 +887,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
701
887
  }>>;
702
888
  }>>;
703
889
  }>, Schema.Struct<{
704
- readonly namespace: Schema.Literal<string>;
890
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
705
891
  readonly type: Schema.Literal<"PendingMessagesPaused">;
706
892
  readonly schemaVersion: Schema.Literal<number>;
707
893
  readonly payload: Schema.Union<readonly [Schema.Struct<{
@@ -738,7 +924,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
738
924
  }>>;
739
925
  }>>;
740
926
  }>, Schema.Struct<{
741
- readonly namespace: Schema.Literal<string>;
927
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
742
928
  readonly type: Schema.Literal<"AssistantMessageCommitted">;
743
929
  readonly schemaVersion: Schema.Literal<number>;
744
930
  readonly payload: Schema.Struct<{
@@ -810,7 +996,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
810
996
  }>>;
811
997
  }>>;
812
998
  }>, Schema.Struct<{
813
- readonly namespace: Schema.Literal<string>;
999
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
814
1000
  readonly type: Schema.Literal<"AssistantMessageImported">;
815
1001
  readonly schemaVersion: Schema.Literal<number>;
816
1002
  readonly payload: Schema.Struct<{
@@ -882,7 +1068,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
882
1068
  }>>;
883
1069
  }>>;
884
1070
  }>, Schema.Struct<{
885
- readonly namespace: Schema.Literal<string>;
1071
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
886
1072
  readonly type: Schema.Literal<"AssistantPartialCommitted">;
887
1073
  readonly schemaVersion: Schema.Literal<number>;
888
1074
  readonly payload: Schema.Struct<{
@@ -955,7 +1141,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
955
1141
  }>>;
956
1142
  }>>;
957
1143
  }>]>, Schema.Union<readonly [Schema.Struct<{
958
- readonly namespace: Schema.Literal<string>;
1144
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
959
1145
  readonly type: Schema.Literal<"RunStarted">;
960
1146
  readonly schemaVersion: Schema.Literal<number>;
961
1147
  readonly payload: Schema.Struct<{
@@ -1007,7 +1193,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1007
1193
  }>>;
1008
1194
  }>>;
1009
1195
  }>, Schema.Struct<{
1010
- readonly namespace: Schema.Literal<string>;
1196
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1011
1197
  readonly type: Schema.Literal<"RunCompleted">;
1012
1198
  readonly schemaVersion: Schema.Literal<number>;
1013
1199
  readonly payload: Schema.Struct<{
@@ -1036,7 +1222,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1036
1222
  }>>;
1037
1223
  }>>;
1038
1224
  }>, Schema.Struct<{
1039
- readonly namespace: Schema.Literal<string>;
1225
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1040
1226
  readonly type: Schema.Literal<"RunFailed">;
1041
1227
  readonly schemaVersion: Schema.Literal<number>;
1042
1228
  readonly payload: Schema.Struct<{
@@ -1070,7 +1256,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1070
1256
  }>>;
1071
1257
  }>>;
1072
1258
  }>, Schema.Struct<{
1073
- readonly namespace: Schema.Literal<string>;
1259
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1074
1260
  readonly type: Schema.Literal<"RunInterrupted">;
1075
1261
  readonly schemaVersion: Schema.Literal<number>;
1076
1262
  readonly payload: Schema.Struct<{
@@ -1100,7 +1286,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1100
1286
  }>>;
1101
1287
  }>>;
1102
1288
  }>]>, Schema.Struct<{
1103
- readonly namespace: Schema.Literal<string>;
1289
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1104
1290
  readonly type: Schema.Literal<"RecoveryCompleted">;
1105
1291
  readonly schemaVersion: Schema.Literal<number>;
1106
1292
  readonly payload: Schema.Struct<{
@@ -1134,7 +1320,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1134
1320
  }>>;
1135
1321
  }>>;
1136
1322
  }>, Schema.Union<readonly [Schema.Struct<{
1137
- readonly namespace: Schema.Literal<string>;
1323
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1138
1324
  readonly type: Schema.Literal<"TurnStarted">;
1139
1325
  readonly schemaVersion: Schema.Literal<number>;
1140
1326
  readonly payload: Schema.Struct<{
@@ -1165,7 +1351,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1165
1351
  }>>;
1166
1352
  }>>;
1167
1353
  }>, Schema.Struct<{
1168
- readonly namespace: Schema.Literal<string>;
1354
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1169
1355
  readonly type: Schema.Literal<"TurnCompleted">;
1170
1356
  readonly schemaVersion: Schema.Literal<number>;
1171
1357
  readonly payload: Schema.Struct<{
@@ -1203,7 +1389,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1203
1389
  }>>;
1204
1390
  }>>;
1205
1391
  }>, Schema.Struct<{
1206
- readonly namespace: Schema.Literal<string>;
1392
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1207
1393
  readonly type: Schema.Literal<"TurnFailed">;
1208
1394
  readonly schemaVersion: Schema.Literal<number>;
1209
1395
  readonly payload: Schema.Struct<{
@@ -1238,7 +1424,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1238
1424
  }>>;
1239
1425
  }>>;
1240
1426
  }>, Schema.Struct<{
1241
- readonly namespace: Schema.Literal<string>;
1427
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1242
1428
  readonly type: Schema.Literal<"TurnStopped">;
1243
1429
  readonly schemaVersion: Schema.Literal<number>;
1244
1430
  readonly payload: Schema.Struct<{
@@ -1269,7 +1455,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1269
1455
  }>>;
1270
1456
  }>>;
1271
1457
  }>]>, Schema.Union<readonly [Schema.Struct<{
1272
- readonly namespace: Schema.Literal<string>;
1458
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1273
1459
  readonly type: Schema.Literal<"InferenceStarted">;
1274
1460
  readonly schemaVersion: Schema.Literal<number>;
1275
1461
  readonly payload: Schema.Struct<{
@@ -1300,7 +1486,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1300
1486
  }>>;
1301
1487
  }>>;
1302
1488
  }>, Schema.Struct<{
1303
- readonly namespace: Schema.Literal<string>;
1489
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1304
1490
  readonly type: Schema.Literal<"InferenceCompleted">;
1305
1491
  readonly schemaVersion: Schema.Literal<number>;
1306
1492
  readonly payload: Schema.Struct<{
@@ -1342,7 +1528,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1342
1528
  }>>;
1343
1529
  }>>;
1344
1530
  }>, Schema.Struct<{
1345
- readonly namespace: Schema.Literal<string>;
1531
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1346
1532
  readonly type: Schema.Literal<"InferenceFailed">;
1347
1533
  readonly schemaVersion: Schema.Literal<number>;
1348
1534
  readonly payload: Schema.Struct<{
@@ -1378,7 +1564,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1378
1564
  }>>;
1379
1565
  }>>;
1380
1566
  }>]>, Schema.Union<readonly [Schema.Struct<{
1381
- readonly namespace: Schema.Literal<string>;
1567
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1382
1568
  readonly type: Schema.Literal<"ToolCallCreated">;
1383
1569
  readonly schemaVersion: Schema.Literal<number>;
1384
1570
  readonly payload: Schema.Struct<{
@@ -1419,7 +1605,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1419
1605
  }>>;
1420
1606
  }>>;
1421
1607
  }>, Schema.Struct<{
1422
- readonly namespace: Schema.Literal<string>;
1608
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1423
1609
  readonly type: Schema.Literal<"ToolCallRejected">;
1424
1610
  readonly schemaVersion: Schema.Literal<number>;
1425
1611
  readonly payload: Schema.Struct<{
@@ -1464,7 +1650,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1464
1650
  }>>;
1465
1651
  }>>;
1466
1652
  }>, Schema.Struct<{
1467
- readonly namespace: Schema.Literal<string>;
1653
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1468
1654
  readonly type: Schema.Literal<"ToolCallStarted">;
1469
1655
  readonly schemaVersion: Schema.Literal<number>;
1470
1656
  readonly payload: Schema.Struct<{
@@ -1493,7 +1679,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1493
1679
  }>>;
1494
1680
  }>>;
1495
1681
  }>, Schema.Struct<{
1496
- readonly namespace: Schema.Literal<string>;
1682
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1497
1683
  readonly type: Schema.Literal<"ToolCallCompleted">;
1498
1684
  readonly schemaVersion: Schema.Literal<number>;
1499
1685
  readonly payload: Schema.Struct<{
@@ -1531,7 +1717,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1531
1717
  }>>;
1532
1718
  }>>;
1533
1719
  }>, Schema.Struct<{
1534
- readonly namespace: Schema.Literal<string>;
1720
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1535
1721
  readonly type: Schema.Literal<"ToolCallFailed">;
1536
1722
  readonly schemaVersion: Schema.Literal<number>;
1537
1723
  readonly payload: Schema.Struct<{
@@ -1578,7 +1764,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1578
1764
  }>>;
1579
1765
  }>>;
1580
1766
  }>]>, Schema.Union<readonly [Schema.Struct<{
1581
- readonly namespace: Schema.Literal<string>;
1767
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1582
1768
  readonly type: Schema.Literal<"StopTurnRequested">;
1583
1769
  readonly schemaVersion: Schema.Literal<number>;
1584
1770
  readonly payload: Schema.Struct<{
@@ -1609,7 +1795,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1609
1795
  }>>;
1610
1796
  }>>;
1611
1797
  }>, Schema.Struct<{
1612
- readonly namespace: Schema.Literal<string>;
1798
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1613
1799
  readonly type: Schema.Literal<"StopTurnApplied">;
1614
1800
  readonly schemaVersion: Schema.Literal<number>;
1615
1801
  readonly payload: Schema.Struct<{
@@ -1641,7 +1827,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1641
1827
  }>>;
1642
1828
  }>>;
1643
1829
  }>]>, Schema.Union<readonly [Schema.Struct<{
1644
- readonly namespace: Schema.Literal<string>;
1830
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1645
1831
  readonly type: Schema.Literal<"ContextProjected">;
1646
1832
  readonly schemaVersion: Schema.Literal<number>;
1647
1833
  readonly payload: Schema.Struct<{
@@ -1671,7 +1857,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1671
1857
  }>>;
1672
1858
  }>>;
1673
1859
  }>, Schema.Struct<{
1674
- readonly namespace: Schema.Literal<string>;
1860
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1675
1861
  readonly type: Schema.Literal<"CompactionRequested">;
1676
1862
  readonly schemaVersion: Schema.Literal<number>;
1677
1863
  readonly payload: Schema.Struct<{
@@ -1702,7 +1888,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1702
1888
  }>>;
1703
1889
  }>>;
1704
1890
  }>, Schema.Struct<{
1705
- readonly namespace: Schema.Literal<string>;
1891
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1706
1892
  readonly type: Schema.Literal<"CompactionStarted">;
1707
1893
  readonly schemaVersion: Schema.Literal<number>;
1708
1894
  readonly payload: Schema.Struct<{
@@ -1731,7 +1917,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1731
1917
  }>>;
1732
1918
  }>>;
1733
1919
  }>, Schema.Struct<{
1734
- readonly namespace: Schema.Literal<string>;
1920
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1735
1921
  readonly type: Schema.Literal<"SummaryCreated">;
1736
1922
  readonly schemaVersion: Schema.Literal<number>;
1737
1923
  readonly payload: Schema.Struct<{
@@ -1764,7 +1950,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1764
1950
  }>>;
1765
1951
  }>>;
1766
1952
  }>, Schema.Struct<{
1767
- readonly namespace: Schema.Literal<string>;
1953
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1768
1954
  readonly type: Schema.Literal<"CompactionCompleted">;
1769
1955
  readonly schemaVersion: Schema.Literal<number>;
1770
1956
  readonly payload: Schema.Struct<{
@@ -1806,7 +1992,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1806
1992
  }>>;
1807
1993
  }>>;
1808
1994
  }>, Schema.Struct<{
1809
- readonly namespace: Schema.Literal<string>;
1995
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1810
1996
  readonly type: Schema.Literal<"ContextRebased">;
1811
1997
  readonly schemaVersion: Schema.Literal<number>;
1812
1998
  readonly payload: Schema.Struct<{
@@ -1838,7 +2024,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1838
2024
  }>>;
1839
2025
  }>>;
1840
2026
  }>, Schema.Struct<{
1841
- readonly namespace: Schema.Literal<string>;
2027
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1842
2028
  readonly type: Schema.Literal<"CompactionFailed">;
1843
2029
  readonly schemaVersion: Schema.Literal<number>;
1844
2030
  readonly payload: Schema.Struct<{
@@ -1885,7 +2071,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1885
2071
  }>>;
1886
2072
  }>>;
1887
2073
  }>]>, Schema.Union<readonly [Schema.Struct<{
1888
- readonly namespace: Schema.Literal<string>;
2074
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1889
2075
  readonly type: Schema.Literal<"BaseStateRequested">;
1890
2076
  readonly schemaVersion: Schema.Literal<number>;
1891
2077
  readonly payload: Schema.Struct<{
@@ -1915,7 +2101,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1915
2101
  }>>;
1916
2102
  }>>;
1917
2103
  }>, Schema.Struct<{
1918
- readonly namespace: Schema.Literal<string>;
2104
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1919
2105
  readonly type: Schema.Literal<"BaseStateCreated">;
1920
2106
  readonly schemaVersion: Schema.Literal<number>;
1921
2107
  readonly payload: Schema.Struct<{
@@ -1945,7 +2131,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1945
2131
  }>>;
1946
2132
  }>>;
1947
2133
  }>, Schema.Struct<{
1948
- readonly namespace: Schema.Literal<string>;
2134
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1949
2135
  readonly type: Schema.Literal<"BaseStateFailed">;
1950
2136
  readonly schemaVersion: Schema.Literal<number>;
1951
2137
  readonly payload: Schema.Struct<{
@@ -1978,8 +2164,8 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
1978
2164
  readonly attributes: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
1979
2165
  }>>;
1980
2166
  }>>;
1981
- }>]>]>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
1982
- readonly namespace: Schema.Literal<string>;
2167
+ }>]>]>]>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
2168
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
1983
2169
  readonly type: Schema.Literal<"TextDelta">;
1984
2170
  readonly schemaVersion: Schema.Literal<number>;
1985
2171
  readonly payload: Schema.Struct<{
@@ -2009,7 +2195,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
2009
2195
  }>>;
2010
2196
  }>>;
2011
2197
  }>, Schema.Struct<{
2012
- readonly namespace: Schema.Literal<string>;
2198
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
2013
2199
  readonly type: Schema.Literal<"ReasoningDelta">;
2014
2200
  readonly schemaVersion: Schema.Literal<number>;
2015
2201
  readonly payload: Schema.Struct<{
@@ -2039,7 +2225,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
2039
2225
  }>>;
2040
2226
  }>>;
2041
2227
  }>, Schema.Struct<{
2042
- readonly namespace: Schema.Literal<string>;
2228
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
2043
2229
  readonly type: Schema.Literal<"ToolParamsStart">;
2044
2230
  readonly schemaVersion: Schema.Literal<number>;
2045
2231
  readonly payload: Schema.Struct<{
@@ -2071,7 +2257,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
2071
2257
  }>>;
2072
2258
  }>>;
2073
2259
  }>, Schema.Struct<{
2074
- readonly namespace: Schema.Literal<string>;
2260
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
2075
2261
  readonly type: Schema.Literal<"ToolParamsDelta">;
2076
2262
  readonly schemaVersion: Schema.Literal<number>;
2077
2263
  readonly payload: Schema.Struct<{
@@ -2102,7 +2288,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
2102
2288
  }>>;
2103
2289
  }>>;
2104
2290
  }>, Schema.Struct<{
2105
- readonly namespace: Schema.Literal<string>;
2291
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
2106
2292
  readonly type: Schema.Literal<"ToolParamsEnd">;
2107
2293
  readonly schemaVersion: Schema.Literal<number>;
2108
2294
  readonly payload: Schema.Struct<{
@@ -2132,7 +2318,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
2132
2318
  }>>;
2133
2319
  }>>;
2134
2320
  }>]>, Schema.Union<readonly [Schema.Struct<{
2135
- readonly namespace: Schema.Literal<string>;
2321
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
2136
2322
  readonly type: Schema.Literal<"SubscriberStatus">;
2137
2323
  readonly schemaVersion: Schema.Literal<number>;
2138
2324
  readonly payload: Schema.Struct<{
@@ -2162,7 +2348,7 @@ declare const EDAFrameworkWebSocketEvent: Schema.Union<readonly [Schema.Union<re
2162
2348
  }>>;
2163
2349
  }>>;
2164
2350
  }>, Schema.Struct<{
2165
- readonly namespace: Schema.Literal<string>;
2351
+ readonly namespace: Schema.Literal<"effect-durable-agent">;
2166
2352
  readonly type: Schema.Literal<"TraceStatus">;
2167
2353
  readonly schemaVersion: Schema.Literal<number>;
2168
2354
  readonly payload: Schema.Struct<{