effect-durable-agent 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{compaction-Dlq4wgZE.js → compaction-Bo0IdR4c.js} +3 -3
- package/dist/{compaction-Dlq4wgZE.js.map → compaction-Bo0IdR4c.js.map} +1 -1
- package/dist/{delivery-DoHIy6rQ.d.ts → delivery-Cvn0tFHG.d.ts} +2 -2
- package/dist/domain/command-queues.d.ts +1 -1
- package/dist/domain/message-transcript.d.ts +1 -1
- package/dist/domain/reduced-state.d.ts +1 -1
- package/dist/domain/run-scheduling.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{reduced-state-DNfEwxu7.d.ts → reduced-state-abeH0MOf.d.ts} +480 -480
- package/dist/services/compaction.d.ts +1 -1
- package/dist/services/compaction.js +1 -1
- package/dist/services/decider.d.ts +1 -1
- package/dist/services/model-call.d.ts +1 -1
- package/dist/services/prompt-projector.d.ts +1 -1
- package/dist/services/run-scheduler.d.ts +1 -1
- package/dist/services/runtime-layer.d.ts +1 -1
- package/dist/services/runtime-layer.js +2 -2
- package/dist/services/runtime.d.ts +1 -1
- package/dist/services/runtime.js +1 -1
- package/dist/services/session-event-observer.d.ts +1 -1
- package/dist/services/session-query.d.ts +1 -1
- package/dist/services/session-query.js +1 -1
- package/dist/services/session-state.d.ts +1 -1
- package/dist/services/session-state.js +1 -1
- package/dist/services/sink-registry.d.ts +1 -1
- package/dist/services/tool-registry.d.ts +1 -1
- package/dist/{session-state-urBjAvsy.js → session-state-DqRkcZOy.js} +107 -14
- package/dist/session-state-DqRkcZOy.js.map +1 -0
- package/dist/testkit/layers.d.ts +1 -1
- package/dist/testkit/layers.js +2 -2
- package/dist/websocket/events.d.ts +1 -1
- package/dist/websocket.d.ts +1 -1
- package/package.json +1 -1
- package/dist/session-state-urBjAvsy.js.map +0 -1
|
@@ -7590,108 +7590,6 @@ interface RunInferenceInput extends RunInferenceContext {
|
|
|
7590
7590
|
/** Summary returned after one provider inference stream is consumed. */
|
|
7591
7591
|
declare const InferenceRunResult: Schema.Struct<{
|
|
7592
7592
|
readonly started: Schema.Codec<CommittedDurableEvent<{
|
|
7593
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
7594
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
7595
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
7596
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
7597
|
-
readonly trace: {
|
|
7598
|
-
readonly span: {
|
|
7599
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
7600
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
7601
|
-
readonly sampled: boolean;
|
|
7602
|
-
readonly tracestate: string | null;
|
|
7603
|
-
};
|
|
7604
|
-
readonly links: readonly {
|
|
7605
|
-
readonly context: {
|
|
7606
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
7607
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
7608
|
-
readonly sampled: boolean;
|
|
7609
|
-
readonly tracestate: string | null;
|
|
7610
|
-
};
|
|
7611
|
-
readonly attributes: {
|
|
7612
|
-
readonly [x: string]: string | number | boolean;
|
|
7613
|
-
};
|
|
7614
|
-
}[];
|
|
7615
|
-
};
|
|
7616
|
-
readonly durability: "durable";
|
|
7617
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
7618
|
-
readonly namespace: "effect-durable-agent";
|
|
7619
|
-
readonly type: "CommandCompleted";
|
|
7620
|
-
readonly schemaVersion: number;
|
|
7621
|
-
readonly payload: {
|
|
7622
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
7623
|
-
};
|
|
7624
|
-
} | {
|
|
7625
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
7626
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
7627
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
7628
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
7629
|
-
readonly trace: {
|
|
7630
|
-
readonly span: {
|
|
7631
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
7632
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
7633
|
-
readonly sampled: boolean;
|
|
7634
|
-
readonly tracestate: string | null;
|
|
7635
|
-
};
|
|
7636
|
-
readonly links: readonly {
|
|
7637
|
-
readonly context: {
|
|
7638
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
7639
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
7640
|
-
readonly sampled: boolean;
|
|
7641
|
-
readonly tracestate: string | null;
|
|
7642
|
-
};
|
|
7643
|
-
readonly attributes: {
|
|
7644
|
-
readonly [x: string]: string | number | boolean;
|
|
7645
|
-
};
|
|
7646
|
-
}[];
|
|
7647
|
-
};
|
|
7648
|
-
readonly durability: "durable";
|
|
7649
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
7650
|
-
readonly namespace: "effect-durable-agent";
|
|
7651
|
-
readonly type: "CommandFailed";
|
|
7652
|
-
readonly schemaVersion: number;
|
|
7653
|
-
readonly payload: {
|
|
7654
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
7655
|
-
readonly error: {
|
|
7656
|
-
readonly message: string;
|
|
7657
|
-
readonly code?: string | undefined;
|
|
7658
|
-
readonly details?: unknown;
|
|
7659
|
-
};
|
|
7660
|
-
};
|
|
7661
|
-
} | {
|
|
7662
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
7663
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
7664
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
7665
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
7666
|
-
readonly trace: {
|
|
7667
|
-
readonly span: {
|
|
7668
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
7669
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
7670
|
-
readonly sampled: boolean;
|
|
7671
|
-
readonly tracestate: string | null;
|
|
7672
|
-
};
|
|
7673
|
-
readonly links: readonly {
|
|
7674
|
-
readonly context: {
|
|
7675
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
7676
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
7677
|
-
readonly sampled: boolean;
|
|
7678
|
-
readonly tracestate: string | null;
|
|
7679
|
-
};
|
|
7680
|
-
readonly attributes: {
|
|
7681
|
-
readonly [x: string]: string | number | boolean;
|
|
7682
|
-
};
|
|
7683
|
-
}[];
|
|
7684
|
-
};
|
|
7685
|
-
readonly durability: "durable";
|
|
7686
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
7687
|
-
readonly namespace: "effect-durable-agent";
|
|
7688
|
-
readonly type: "CommandCancelled";
|
|
7689
|
-
readonly schemaVersion: number;
|
|
7690
|
-
readonly payload: {
|
|
7691
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
7692
|
-
readonly reason: string;
|
|
7693
|
-
};
|
|
7694
|
-
} | {
|
|
7695
7593
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
7696
7594
|
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
7697
7595
|
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
@@ -8290,11 +8188,10 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8290
8188
|
readonly durability: "durable";
|
|
8291
8189
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8292
8190
|
readonly namespace: "effect-durable-agent";
|
|
8293
|
-
readonly type: "
|
|
8191
|
+
readonly type: "CommandCompleted";
|
|
8294
8192
|
readonly schemaVersion: number;
|
|
8295
8193
|
readonly payload: {
|
|
8296
|
-
readonly
|
|
8297
|
-
readonly content: string;
|
|
8194
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8298
8195
|
};
|
|
8299
8196
|
} | {
|
|
8300
8197
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -8323,58 +8220,15 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8323
8220
|
readonly durability: "durable";
|
|
8324
8221
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8325
8222
|
readonly namespace: "effect-durable-agent";
|
|
8326
|
-
readonly type: "
|
|
8223
|
+
readonly type: "CommandFailed";
|
|
8327
8224
|
readonly schemaVersion: number;
|
|
8328
8225
|
readonly payload: {
|
|
8329
8226
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8330
|
-
readonly
|
|
8331
|
-
|
|
8332
|
-
readonly
|
|
8333
|
-
readonly
|
|
8334
|
-
|
|
8335
|
-
readonly options: {
|
|
8336
|
-
readonly [x: string]: Schema.Json;
|
|
8337
|
-
};
|
|
8338
|
-
}, ...{
|
|
8339
|
-
readonly type: "text";
|
|
8340
|
-
readonly text: string;
|
|
8341
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8342
|
-
readonly options: {
|
|
8343
|
-
readonly [x: string]: Schema.Json;
|
|
8344
|
-
};
|
|
8345
|
-
}[]] | readonly [{
|
|
8346
|
-
readonly type: "text";
|
|
8347
|
-
readonly text: string;
|
|
8348
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8349
|
-
readonly options: {
|
|
8350
|
-
readonly [x: string]: Schema.Json;
|
|
8351
|
-
};
|
|
8352
|
-
} | {
|
|
8353
|
-
readonly type: "file";
|
|
8354
|
-
readonly mediaType: string;
|
|
8355
|
-
readonly fileName?: string | undefined;
|
|
8356
|
-
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8357
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8358
|
-
readonly options: {
|
|
8359
|
-
readonly [x: string]: Schema.Json;
|
|
8360
|
-
};
|
|
8361
|
-
}, ...({
|
|
8362
|
-
readonly type: "text";
|
|
8363
|
-
readonly text: string;
|
|
8364
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8365
|
-
readonly options: {
|
|
8366
|
-
readonly [x: string]: Schema.Json;
|
|
8367
|
-
};
|
|
8368
|
-
} | {
|
|
8369
|
-
readonly type: "file";
|
|
8370
|
-
readonly mediaType: string;
|
|
8371
|
-
readonly fileName?: string | undefined;
|
|
8372
|
-
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8373
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8374
|
-
readonly options: {
|
|
8375
|
-
readonly [x: string]: Schema.Json;
|
|
8376
|
-
};
|
|
8377
|
-
})[]];
|
|
8227
|
+
readonly error: {
|
|
8228
|
+
readonly message: string;
|
|
8229
|
+
readonly code?: string | undefined;
|
|
8230
|
+
readonly details?: unknown;
|
|
8231
|
+
};
|
|
8378
8232
|
};
|
|
8379
8233
|
} | {
|
|
8380
8234
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -8403,59 +8257,11 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8403
8257
|
readonly durability: "durable";
|
|
8404
8258
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8405
8259
|
readonly namespace: "effect-durable-agent";
|
|
8406
|
-
readonly type: "
|
|
8260
|
+
readonly type: "CommandCancelled";
|
|
8407
8261
|
readonly schemaVersion: number;
|
|
8408
8262
|
readonly payload: {
|
|
8409
8263
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8410
|
-
readonly
|
|
8411
|
-
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
8412
|
-
readonly content: readonly [{
|
|
8413
|
-
readonly type: "text";
|
|
8414
|
-
readonly text: string;
|
|
8415
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8416
|
-
readonly options: {
|
|
8417
|
-
readonly [x: string]: Schema.Json;
|
|
8418
|
-
};
|
|
8419
|
-
}, ...{
|
|
8420
|
-
readonly type: "text";
|
|
8421
|
-
readonly text: string;
|
|
8422
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8423
|
-
readonly options: {
|
|
8424
|
-
readonly [x: string]: Schema.Json;
|
|
8425
|
-
};
|
|
8426
|
-
}[]] | readonly [{
|
|
8427
|
-
readonly type: "text";
|
|
8428
|
-
readonly text: string;
|
|
8429
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8430
|
-
readonly options: {
|
|
8431
|
-
readonly [x: string]: Schema.Json;
|
|
8432
|
-
};
|
|
8433
|
-
} | {
|
|
8434
|
-
readonly type: "file";
|
|
8435
|
-
readonly mediaType: string;
|
|
8436
|
-
readonly fileName?: string | undefined;
|
|
8437
|
-
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8438
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8439
|
-
readonly options: {
|
|
8440
|
-
readonly [x: string]: Schema.Json;
|
|
8441
|
-
};
|
|
8442
|
-
}, ...({
|
|
8443
|
-
readonly type: "text";
|
|
8444
|
-
readonly text: string;
|
|
8445
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8446
|
-
readonly options: {
|
|
8447
|
-
readonly [x: string]: Schema.Json;
|
|
8448
|
-
};
|
|
8449
|
-
} | {
|
|
8450
|
-
readonly type: "file";
|
|
8451
|
-
readonly mediaType: string;
|
|
8452
|
-
readonly fileName?: string | undefined;
|
|
8453
|
-
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8454
|
-
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8455
|
-
readonly options: {
|
|
8456
|
-
readonly [x: string]: Schema.Json;
|
|
8457
|
-
};
|
|
8458
|
-
})[]];
|
|
8264
|
+
readonly reason: string;
|
|
8459
8265
|
};
|
|
8460
8266
|
} | {
|
|
8461
8267
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -8484,12 +8290,11 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8484
8290
|
readonly durability: "durable";
|
|
8485
8291
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8486
8292
|
readonly namespace: "effect-durable-agent";
|
|
8487
|
-
readonly type: "
|
|
8293
|
+
readonly type: "SystemMessageCommitted";
|
|
8488
8294
|
readonly schemaVersion: number;
|
|
8489
8295
|
readonly payload: {
|
|
8490
8296
|
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
8491
|
-
readonly
|
|
8492
|
-
readonly reason: string;
|
|
8297
|
+
readonly content: string;
|
|
8493
8298
|
};
|
|
8494
8299
|
} | {
|
|
8495
8300
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -8518,12 +8323,11 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8518
8323
|
readonly durability: "durable";
|
|
8519
8324
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8520
8325
|
readonly namespace: "effect-durable-agent";
|
|
8521
|
-
readonly type: "
|
|
8326
|
+
readonly type: "UserMessageCommitted";
|
|
8522
8327
|
readonly schemaVersion: number;
|
|
8523
8328
|
readonly payload: {
|
|
8524
8329
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8525
8330
|
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
8526
|
-
readonly disposition: "queue" | "steer";
|
|
8527
8331
|
readonly content: readonly [{
|
|
8528
8332
|
readonly type: "text";
|
|
8529
8333
|
readonly text: string;
|
|
@@ -8599,41 +8403,237 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8599
8403
|
readonly durability: "durable";
|
|
8600
8404
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8601
8405
|
readonly namespace: "effect-durable-agent";
|
|
8602
|
-
readonly type: "
|
|
8603
|
-
readonly schemaVersion: number;
|
|
8604
|
-
readonly payload: {
|
|
8605
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8606
|
-
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
8607
|
-
readonly
|
|
8608
|
-
readonly
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
readonly
|
|
8618
|
-
readonly
|
|
8619
|
-
readonly
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
readonly
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
readonly
|
|
8628
|
-
};
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8406
|
+
readonly type: "SteeringMessageQueued";
|
|
8407
|
+
readonly schemaVersion: number;
|
|
8408
|
+
readonly payload: {
|
|
8409
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8410
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
8411
|
+
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
8412
|
+
readonly content: readonly [{
|
|
8413
|
+
readonly type: "text";
|
|
8414
|
+
readonly text: string;
|
|
8415
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8416
|
+
readonly options: {
|
|
8417
|
+
readonly [x: string]: Schema.Json;
|
|
8418
|
+
};
|
|
8419
|
+
}, ...{
|
|
8420
|
+
readonly type: "text";
|
|
8421
|
+
readonly text: string;
|
|
8422
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8423
|
+
readonly options: {
|
|
8424
|
+
readonly [x: string]: Schema.Json;
|
|
8425
|
+
};
|
|
8426
|
+
}[]] | readonly [{
|
|
8427
|
+
readonly type: "text";
|
|
8428
|
+
readonly text: string;
|
|
8429
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8430
|
+
readonly options: {
|
|
8431
|
+
readonly [x: string]: Schema.Json;
|
|
8432
|
+
};
|
|
8433
|
+
} | {
|
|
8434
|
+
readonly type: "file";
|
|
8435
|
+
readonly mediaType: string;
|
|
8436
|
+
readonly fileName?: string | undefined;
|
|
8437
|
+
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8438
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8439
|
+
readonly options: {
|
|
8440
|
+
readonly [x: string]: Schema.Json;
|
|
8441
|
+
};
|
|
8442
|
+
}, ...({
|
|
8443
|
+
readonly type: "text";
|
|
8444
|
+
readonly text: string;
|
|
8445
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8446
|
+
readonly options: {
|
|
8447
|
+
readonly [x: string]: Schema.Json;
|
|
8448
|
+
};
|
|
8449
|
+
} | {
|
|
8450
|
+
readonly type: "file";
|
|
8451
|
+
readonly mediaType: string;
|
|
8452
|
+
readonly fileName?: string | undefined;
|
|
8453
|
+
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8454
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8455
|
+
readonly options: {
|
|
8456
|
+
readonly [x: string]: Schema.Json;
|
|
8457
|
+
};
|
|
8458
|
+
})[]];
|
|
8459
|
+
};
|
|
8460
|
+
} | {
|
|
8461
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
8462
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
8463
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
8464
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
8465
|
+
readonly trace: {
|
|
8466
|
+
readonly span: {
|
|
8467
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8468
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8469
|
+
readonly sampled: boolean;
|
|
8470
|
+
readonly tracestate: string | null;
|
|
8471
|
+
};
|
|
8472
|
+
readonly links: readonly {
|
|
8473
|
+
readonly context: {
|
|
8474
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8475
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8476
|
+
readonly sampled: boolean;
|
|
8477
|
+
readonly tracestate: string | null;
|
|
8478
|
+
};
|
|
8479
|
+
readonly attributes: {
|
|
8480
|
+
readonly [x: string]: string | number | boolean;
|
|
8481
|
+
};
|
|
8482
|
+
}[];
|
|
8483
|
+
};
|
|
8484
|
+
readonly durability: "durable";
|
|
8485
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8486
|
+
readonly namespace: "effect-durable-agent";
|
|
8487
|
+
readonly type: "SteeringMessageCancelled";
|
|
8488
|
+
readonly schemaVersion: number;
|
|
8489
|
+
readonly payload: {
|
|
8490
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
8491
|
+
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
8492
|
+
readonly reason: string;
|
|
8493
|
+
};
|
|
8494
|
+
} | {
|
|
8495
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
8496
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
8497
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
8498
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
8499
|
+
readonly trace: {
|
|
8500
|
+
readonly span: {
|
|
8501
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8502
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8503
|
+
readonly sampled: boolean;
|
|
8504
|
+
readonly tracestate: string | null;
|
|
8505
|
+
};
|
|
8506
|
+
readonly links: readonly {
|
|
8507
|
+
readonly context: {
|
|
8508
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8509
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8510
|
+
readonly sampled: boolean;
|
|
8511
|
+
readonly tracestate: string | null;
|
|
8512
|
+
};
|
|
8513
|
+
readonly attributes: {
|
|
8514
|
+
readonly [x: string]: string | number | boolean;
|
|
8515
|
+
};
|
|
8516
|
+
}[];
|
|
8517
|
+
};
|
|
8518
|
+
readonly durability: "durable";
|
|
8519
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8520
|
+
readonly namespace: "effect-durable-agent";
|
|
8521
|
+
readonly type: "UserMessageSubmitted";
|
|
8522
|
+
readonly schemaVersion: number;
|
|
8523
|
+
readonly payload: {
|
|
8524
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8525
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
8526
|
+
readonly disposition: "queue" | "steer";
|
|
8527
|
+
readonly content: readonly [{
|
|
8528
|
+
readonly type: "text";
|
|
8529
|
+
readonly text: string;
|
|
8530
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8531
|
+
readonly options: {
|
|
8532
|
+
readonly [x: string]: Schema.Json;
|
|
8533
|
+
};
|
|
8534
|
+
}, ...{
|
|
8535
|
+
readonly type: "text";
|
|
8536
|
+
readonly text: string;
|
|
8537
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8538
|
+
readonly options: {
|
|
8539
|
+
readonly [x: string]: Schema.Json;
|
|
8540
|
+
};
|
|
8541
|
+
}[]] | readonly [{
|
|
8542
|
+
readonly type: "text";
|
|
8543
|
+
readonly text: string;
|
|
8544
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8545
|
+
readonly options: {
|
|
8546
|
+
readonly [x: string]: Schema.Json;
|
|
8547
|
+
};
|
|
8548
|
+
} | {
|
|
8549
|
+
readonly type: "file";
|
|
8550
|
+
readonly mediaType: string;
|
|
8551
|
+
readonly fileName?: string | undefined;
|
|
8552
|
+
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8553
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8554
|
+
readonly options: {
|
|
8555
|
+
readonly [x: string]: Schema.Json;
|
|
8556
|
+
};
|
|
8557
|
+
}, ...({
|
|
8558
|
+
readonly type: "text";
|
|
8559
|
+
readonly text: string;
|
|
8560
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8561
|
+
readonly options: {
|
|
8562
|
+
readonly [x: string]: Schema.Json;
|
|
8563
|
+
};
|
|
8564
|
+
} | {
|
|
8565
|
+
readonly type: "file";
|
|
8566
|
+
readonly mediaType: string;
|
|
8567
|
+
readonly fileName?: string | undefined;
|
|
8568
|
+
readonly data: string | URL | Uint8Array<ArrayBufferLike>;
|
|
8569
|
+
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8570
|
+
readonly options: {
|
|
8571
|
+
readonly [x: string]: Schema.Json;
|
|
8572
|
+
};
|
|
8573
|
+
})[]];
|
|
8574
|
+
};
|
|
8575
|
+
} | {
|
|
8576
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
8577
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
8578
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
8579
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
8580
|
+
readonly trace: {
|
|
8581
|
+
readonly span: {
|
|
8582
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8583
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8584
|
+
readonly sampled: boolean;
|
|
8585
|
+
readonly tracestate: string | null;
|
|
8586
|
+
};
|
|
8587
|
+
readonly links: readonly {
|
|
8588
|
+
readonly context: {
|
|
8589
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8590
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8591
|
+
readonly sampled: boolean;
|
|
8592
|
+
readonly tracestate: string | null;
|
|
8593
|
+
};
|
|
8594
|
+
readonly attributes: {
|
|
8595
|
+
readonly [x: string]: string | number | boolean;
|
|
8596
|
+
};
|
|
8597
|
+
}[];
|
|
8598
|
+
};
|
|
8599
|
+
readonly durability: "durable";
|
|
8600
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8601
|
+
readonly namespace: "effect-durable-agent";
|
|
8602
|
+
readonly type: "UserMessagePromoted";
|
|
8603
|
+
readonly schemaVersion: number;
|
|
8604
|
+
readonly payload: {
|
|
8605
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
8606
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
8607
|
+
readonly from: "queue";
|
|
8608
|
+
readonly to: "steer";
|
|
8609
|
+
};
|
|
8610
|
+
} | {
|
|
8611
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
8612
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
8613
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
8614
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
8615
|
+
readonly trace: {
|
|
8616
|
+
readonly span: {
|
|
8617
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8618
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8619
|
+
readonly sampled: boolean;
|
|
8620
|
+
readonly tracestate: string | null;
|
|
8621
|
+
};
|
|
8622
|
+
readonly links: readonly {
|
|
8623
|
+
readonly context: {
|
|
8624
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
8625
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
8626
|
+
readonly sampled: boolean;
|
|
8627
|
+
readonly tracestate: string | null;
|
|
8628
|
+
};
|
|
8629
|
+
readonly attributes: {
|
|
8630
|
+
readonly [x: string]: string | number | boolean;
|
|
8631
|
+
};
|
|
8632
|
+
}[];
|
|
8633
|
+
};
|
|
8634
|
+
readonly durability: "durable";
|
|
8635
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
8636
|
+
readonly namespace: "effect-durable-agent";
|
|
8637
8637
|
readonly type: "UserMessageCancelled";
|
|
8638
8638
|
readonly schemaVersion: number;
|
|
8639
8639
|
readonly payload: {
|
|
@@ -10518,108 +10518,6 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
10518
10518
|
readonly partsRecorded: Schema.Int;
|
|
10519
10519
|
readonly terminal: Schema.Union<readonly [Schema.TaggedStruct<"InferenceRunFinished", {
|
|
10520
10520
|
readonly committed: Schema.$Array<Schema.Codec<CommittedDurableEvent<{
|
|
10521
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
10522
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
10523
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
10524
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
10525
|
-
readonly trace: {
|
|
10526
|
-
readonly span: {
|
|
10527
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10528
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10529
|
-
readonly sampled: boolean;
|
|
10530
|
-
readonly tracestate: string | null;
|
|
10531
|
-
};
|
|
10532
|
-
readonly links: readonly {
|
|
10533
|
-
readonly context: {
|
|
10534
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10535
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10536
|
-
readonly sampled: boolean;
|
|
10537
|
-
readonly tracestate: string | null;
|
|
10538
|
-
};
|
|
10539
|
-
readonly attributes: {
|
|
10540
|
-
readonly [x: string]: string | number | boolean;
|
|
10541
|
-
};
|
|
10542
|
-
}[];
|
|
10543
|
-
};
|
|
10544
|
-
readonly durability: "durable";
|
|
10545
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10546
|
-
readonly namespace: "effect-durable-agent";
|
|
10547
|
-
readonly type: "CommandCompleted";
|
|
10548
|
-
readonly schemaVersion: number;
|
|
10549
|
-
readonly payload: {
|
|
10550
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
10551
|
-
};
|
|
10552
|
-
} | {
|
|
10553
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
10554
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
10555
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
10556
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
10557
|
-
readonly trace: {
|
|
10558
|
-
readonly span: {
|
|
10559
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10560
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10561
|
-
readonly sampled: boolean;
|
|
10562
|
-
readonly tracestate: string | null;
|
|
10563
|
-
};
|
|
10564
|
-
readonly links: readonly {
|
|
10565
|
-
readonly context: {
|
|
10566
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10567
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10568
|
-
readonly sampled: boolean;
|
|
10569
|
-
readonly tracestate: string | null;
|
|
10570
|
-
};
|
|
10571
|
-
readonly attributes: {
|
|
10572
|
-
readonly [x: string]: string | number | boolean;
|
|
10573
|
-
};
|
|
10574
|
-
}[];
|
|
10575
|
-
};
|
|
10576
|
-
readonly durability: "durable";
|
|
10577
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10578
|
-
readonly namespace: "effect-durable-agent";
|
|
10579
|
-
readonly type: "CommandFailed";
|
|
10580
|
-
readonly schemaVersion: number;
|
|
10581
|
-
readonly payload: {
|
|
10582
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
10583
|
-
readonly error: {
|
|
10584
|
-
readonly message: string;
|
|
10585
|
-
readonly code?: string | undefined;
|
|
10586
|
-
readonly details?: unknown;
|
|
10587
|
-
};
|
|
10588
|
-
};
|
|
10589
|
-
} | {
|
|
10590
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
10591
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
10592
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
10593
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
10594
|
-
readonly trace: {
|
|
10595
|
-
readonly span: {
|
|
10596
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10597
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10598
|
-
readonly sampled: boolean;
|
|
10599
|
-
readonly tracestate: string | null;
|
|
10600
|
-
};
|
|
10601
|
-
readonly links: readonly {
|
|
10602
|
-
readonly context: {
|
|
10603
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10604
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10605
|
-
readonly sampled: boolean;
|
|
10606
|
-
readonly tracestate: string | null;
|
|
10607
|
-
};
|
|
10608
|
-
readonly attributes: {
|
|
10609
|
-
readonly [x: string]: string | number | boolean;
|
|
10610
|
-
};
|
|
10611
|
-
}[];
|
|
10612
|
-
};
|
|
10613
|
-
readonly durability: "durable";
|
|
10614
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10615
|
-
readonly namespace: "effect-durable-agent";
|
|
10616
|
-
readonly type: "CommandCancelled";
|
|
10617
|
-
readonly schemaVersion: number;
|
|
10618
|
-
readonly payload: {
|
|
10619
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
10620
|
-
readonly reason: string;
|
|
10621
|
-
};
|
|
10622
|
-
} | {
|
|
10623
10521
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
10624
10522
|
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
10625
10523
|
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
@@ -10945,14 +10843,121 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
10945
10843
|
readonly durability: "durable";
|
|
10946
10844
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10947
10845
|
readonly namespace: "effect-durable-agent";
|
|
10948
|
-
readonly type: "SessionConfigured";
|
|
10846
|
+
readonly type: "SessionConfigured";
|
|
10847
|
+
readonly schemaVersion: number;
|
|
10848
|
+
readonly payload: {
|
|
10849
|
+
readonly modelSelection: {
|
|
10850
|
+
readonly provider: string;
|
|
10851
|
+
readonly modelId: string;
|
|
10852
|
+
readonly settings?: unknown;
|
|
10853
|
+
};
|
|
10854
|
+
};
|
|
10855
|
+
} | {
|
|
10856
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
10857
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
10858
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
10859
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
10860
|
+
readonly trace: {
|
|
10861
|
+
readonly span: {
|
|
10862
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10863
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10864
|
+
readonly sampled: boolean;
|
|
10865
|
+
readonly tracestate: string | null;
|
|
10866
|
+
};
|
|
10867
|
+
readonly links: readonly {
|
|
10868
|
+
readonly context: {
|
|
10869
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10870
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10871
|
+
readonly sampled: boolean;
|
|
10872
|
+
readonly tracestate: string | null;
|
|
10873
|
+
};
|
|
10874
|
+
readonly attributes: {
|
|
10875
|
+
readonly [x: string]: string | number | boolean;
|
|
10876
|
+
};
|
|
10877
|
+
}[];
|
|
10878
|
+
};
|
|
10879
|
+
readonly durability: "durable";
|
|
10880
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10881
|
+
readonly namespace: "effect-durable-agent";
|
|
10882
|
+
readonly type: "DeciderAccepted";
|
|
10883
|
+
readonly schemaVersion: number;
|
|
10884
|
+
readonly payload: {
|
|
10885
|
+
readonly decider: string;
|
|
10886
|
+
readonly idempotencyKey: string;
|
|
10887
|
+
readonly result: Schema.Json;
|
|
10888
|
+
};
|
|
10889
|
+
} | {
|
|
10890
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
10891
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
10892
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
10893
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
10894
|
+
readonly trace: {
|
|
10895
|
+
readonly span: {
|
|
10896
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10897
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10898
|
+
readonly sampled: boolean;
|
|
10899
|
+
readonly tracestate: string | null;
|
|
10900
|
+
};
|
|
10901
|
+
readonly links: readonly {
|
|
10902
|
+
readonly context: {
|
|
10903
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10904
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10905
|
+
readonly sampled: boolean;
|
|
10906
|
+
readonly tracestate: string | null;
|
|
10907
|
+
};
|
|
10908
|
+
readonly attributes: {
|
|
10909
|
+
readonly [x: string]: string | number | boolean;
|
|
10910
|
+
};
|
|
10911
|
+
}[];
|
|
10912
|
+
};
|
|
10913
|
+
readonly durability: "durable";
|
|
10914
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10915
|
+
readonly namespace: "effect-durable-agent";
|
|
10916
|
+
readonly type: "RunSchedulingRequested";
|
|
10917
|
+
readonly schemaVersion: number;
|
|
10918
|
+
readonly payload: {
|
|
10919
|
+
readonly requestId: string & import("effect/Brand").Brand<"RunRequestId">;
|
|
10920
|
+
readonly work: {
|
|
10921
|
+
readonly _tag: "Command";
|
|
10922
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
10923
|
+
} | {
|
|
10924
|
+
readonly _tag: "Recovery";
|
|
10925
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
10926
|
+
readonly interruptedRunId: string & import("effect/Brand").Brand<"RunId">;
|
|
10927
|
+
readonly inputMessageIds: readonly (string & import("effect/Brand").Brand<"MessageId">)[];
|
|
10928
|
+
};
|
|
10929
|
+
};
|
|
10930
|
+
} | {
|
|
10931
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
10932
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
10933
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
10934
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
10935
|
+
readonly trace: {
|
|
10936
|
+
readonly span: {
|
|
10937
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10938
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10939
|
+
readonly sampled: boolean;
|
|
10940
|
+
readonly tracestate: string | null;
|
|
10941
|
+
};
|
|
10942
|
+
readonly links: readonly {
|
|
10943
|
+
readonly context: {
|
|
10944
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
10945
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
10946
|
+
readonly sampled: boolean;
|
|
10947
|
+
readonly tracestate: string | null;
|
|
10948
|
+
};
|
|
10949
|
+
readonly attributes: {
|
|
10950
|
+
readonly [x: string]: string | number | boolean;
|
|
10951
|
+
};
|
|
10952
|
+
}[];
|
|
10953
|
+
};
|
|
10954
|
+
readonly durability: "durable";
|
|
10955
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10956
|
+
readonly namespace: "effect-durable-agent";
|
|
10957
|
+
readonly type: "RunSchedulingDelivered";
|
|
10949
10958
|
readonly schemaVersion: number;
|
|
10950
10959
|
readonly payload: {
|
|
10951
|
-
readonly
|
|
10952
|
-
readonly provider: string;
|
|
10953
|
-
readonly modelId: string;
|
|
10954
|
-
readonly settings?: unknown;
|
|
10955
|
-
};
|
|
10960
|
+
readonly requestId: string & import("effect/Brand").Brand<"RunRequestId">;
|
|
10956
10961
|
};
|
|
10957
10962
|
} | {
|
|
10958
10963
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -10981,12 +10986,11 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
10981
10986
|
readonly durability: "durable";
|
|
10982
10987
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
10983
10988
|
readonly namespace: "effect-durable-agent";
|
|
10984
|
-
readonly type: "
|
|
10989
|
+
readonly type: "RunSchedulingInvalidated";
|
|
10985
10990
|
readonly schemaVersion: number;
|
|
10986
10991
|
readonly payload: {
|
|
10987
|
-
readonly
|
|
10988
|
-
readonly
|
|
10989
|
-
readonly result: Schema.Json;
|
|
10992
|
+
readonly requestId: string & import("effect/Brand").Brand<"RunRequestId">;
|
|
10993
|
+
readonly reason: "ineligible" | "interrupted" | "message-cancelled" | "stopped";
|
|
10990
10994
|
};
|
|
10991
10995
|
} | {
|
|
10992
10996
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -11015,19 +11019,11 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11015
11019
|
readonly durability: "durable";
|
|
11016
11020
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
11017
11021
|
readonly namespace: "effect-durable-agent";
|
|
11018
|
-
readonly type: "
|
|
11022
|
+
readonly type: "RunSchedulingGranted";
|
|
11019
11023
|
readonly schemaVersion: number;
|
|
11020
11024
|
readonly payload: {
|
|
11021
11025
|
readonly requestId: string & import("effect/Brand").Brand<"RunRequestId">;
|
|
11022
|
-
readonly
|
|
11023
|
-
readonly _tag: "Command";
|
|
11024
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
11025
|
-
} | {
|
|
11026
|
-
readonly _tag: "Recovery";
|
|
11027
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
11028
|
-
readonly interruptedRunId: string & import("effect/Brand").Brand<"RunId">;
|
|
11029
|
-
readonly inputMessageIds: readonly (string & import("effect/Brand").Brand<"MessageId">)[];
|
|
11030
|
-
};
|
|
11026
|
+
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
11031
11027
|
};
|
|
11032
11028
|
} | {
|
|
11033
11029
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -11056,10 +11052,10 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11056
11052
|
readonly durability: "durable";
|
|
11057
11053
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
11058
11054
|
readonly namespace: "effect-durable-agent";
|
|
11059
|
-
readonly type: "
|
|
11055
|
+
readonly type: "CommandAdmitted";
|
|
11060
11056
|
readonly schemaVersion: number;
|
|
11061
11057
|
readonly payload: {
|
|
11062
|
-
readonly
|
|
11058
|
+
readonly command: CancelPendingMessageCommand | PromotePendingMessageCommand | ResumePendingMessagesCommand | StopTurnCommand | SubmitMessageCommand;
|
|
11063
11059
|
};
|
|
11064
11060
|
} | {
|
|
11065
11061
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -11088,11 +11084,10 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11088
11084
|
readonly durability: "durable";
|
|
11089
11085
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
11090
11086
|
readonly namespace: "effect-durable-agent";
|
|
11091
|
-
readonly type: "
|
|
11087
|
+
readonly type: "CommandStarted";
|
|
11092
11088
|
readonly schemaVersion: number;
|
|
11093
11089
|
readonly payload: {
|
|
11094
|
-
readonly
|
|
11095
|
-
readonly reason: "ineligible" | "interrupted" | "message-cancelled" | "stopped";
|
|
11090
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
11096
11091
|
};
|
|
11097
11092
|
} | {
|
|
11098
11093
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -11121,11 +11116,10 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11121
11116
|
readonly durability: "durable";
|
|
11122
11117
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
11123
11118
|
readonly namespace: "effect-durable-agent";
|
|
11124
|
-
readonly type: "
|
|
11119
|
+
readonly type: "CommandCompleted";
|
|
11125
11120
|
readonly schemaVersion: number;
|
|
11126
11121
|
readonly payload: {
|
|
11127
|
-
readonly
|
|
11128
|
-
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
11122
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
11129
11123
|
};
|
|
11130
11124
|
} | {
|
|
11131
11125
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -11154,10 +11148,15 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11154
11148
|
readonly durability: "durable";
|
|
11155
11149
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
11156
11150
|
readonly namespace: "effect-durable-agent";
|
|
11157
|
-
readonly type: "
|
|
11151
|
+
readonly type: "CommandFailed";
|
|
11158
11152
|
readonly schemaVersion: number;
|
|
11159
11153
|
readonly payload: {
|
|
11160
|
-
readonly
|
|
11154
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
11155
|
+
readonly error: {
|
|
11156
|
+
readonly message: string;
|
|
11157
|
+
readonly code?: string | undefined;
|
|
11158
|
+
readonly details?: unknown;
|
|
11159
|
+
};
|
|
11161
11160
|
};
|
|
11162
11161
|
} | {
|
|
11163
11162
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -11186,10 +11185,11 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11186
11185
|
readonly durability: "durable";
|
|
11187
11186
|
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
11188
11187
|
readonly namespace: "effect-durable-agent";
|
|
11189
|
-
readonly type: "
|
|
11188
|
+
readonly type: "CommandCancelled";
|
|
11190
11189
|
readonly schemaVersion: number;
|
|
11191
11190
|
readonly payload: {
|
|
11192
11191
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
11192
|
+
readonly reason: string;
|
|
11193
11193
|
};
|
|
11194
11194
|
} | {
|
|
11195
11195
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -13448,108 +13448,6 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
13448
13448
|
readonly responseParts: Schema.$Array<Schema.Any>;
|
|
13449
13449
|
}>, Schema.TaggedStruct<"InferenceRunFailed", {
|
|
13450
13450
|
readonly committed: Schema.$Array<Schema.Codec<CommittedDurableEvent<{
|
|
13451
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
13452
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
13453
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
13454
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
13455
|
-
readonly trace: {
|
|
13456
|
-
readonly span: {
|
|
13457
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
13458
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
13459
|
-
readonly sampled: boolean;
|
|
13460
|
-
readonly tracestate: string | null;
|
|
13461
|
-
};
|
|
13462
|
-
readonly links: readonly {
|
|
13463
|
-
readonly context: {
|
|
13464
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
13465
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
13466
|
-
readonly sampled: boolean;
|
|
13467
|
-
readonly tracestate: string | null;
|
|
13468
|
-
};
|
|
13469
|
-
readonly attributes: {
|
|
13470
|
-
readonly [x: string]: string | number | boolean;
|
|
13471
|
-
};
|
|
13472
|
-
}[];
|
|
13473
|
-
};
|
|
13474
|
-
readonly durability: "durable";
|
|
13475
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
13476
|
-
readonly namespace: "effect-durable-agent";
|
|
13477
|
-
readonly type: "CommandCompleted";
|
|
13478
|
-
readonly schemaVersion: number;
|
|
13479
|
-
readonly payload: {
|
|
13480
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
13481
|
-
};
|
|
13482
|
-
} | {
|
|
13483
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
13484
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
13485
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
13486
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
13487
|
-
readonly trace: {
|
|
13488
|
-
readonly span: {
|
|
13489
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
13490
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
13491
|
-
readonly sampled: boolean;
|
|
13492
|
-
readonly tracestate: string | null;
|
|
13493
|
-
};
|
|
13494
|
-
readonly links: readonly {
|
|
13495
|
-
readonly context: {
|
|
13496
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
13497
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
13498
|
-
readonly sampled: boolean;
|
|
13499
|
-
readonly tracestate: string | null;
|
|
13500
|
-
};
|
|
13501
|
-
readonly attributes: {
|
|
13502
|
-
readonly [x: string]: string | number | boolean;
|
|
13503
|
-
};
|
|
13504
|
-
}[];
|
|
13505
|
-
};
|
|
13506
|
-
readonly durability: "durable";
|
|
13507
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
13508
|
-
readonly namespace: "effect-durable-agent";
|
|
13509
|
-
readonly type: "CommandFailed";
|
|
13510
|
-
readonly schemaVersion: number;
|
|
13511
|
-
readonly payload: {
|
|
13512
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
13513
|
-
readonly error: {
|
|
13514
|
-
readonly message: string;
|
|
13515
|
-
readonly code?: string | undefined;
|
|
13516
|
-
readonly details?: unknown;
|
|
13517
|
-
};
|
|
13518
|
-
};
|
|
13519
|
-
} | {
|
|
13520
|
-
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
13521
|
-
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
13522
|
-
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
13523
|
-
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
13524
|
-
readonly trace: {
|
|
13525
|
-
readonly span: {
|
|
13526
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
13527
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
13528
|
-
readonly sampled: boolean;
|
|
13529
|
-
readonly tracestate: string | null;
|
|
13530
|
-
};
|
|
13531
|
-
readonly links: readonly {
|
|
13532
|
-
readonly context: {
|
|
13533
|
-
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
13534
|
-
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
13535
|
-
readonly sampled: boolean;
|
|
13536
|
-
readonly tracestate: string | null;
|
|
13537
|
-
};
|
|
13538
|
-
readonly attributes: {
|
|
13539
|
-
readonly [x: string]: string | number | boolean;
|
|
13540
|
-
};
|
|
13541
|
-
}[];
|
|
13542
|
-
};
|
|
13543
|
-
readonly durability: "durable";
|
|
13544
|
-
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
13545
|
-
readonly namespace: "effect-durable-agent";
|
|
13546
|
-
readonly type: "CommandCancelled";
|
|
13547
|
-
readonly schemaVersion: number;
|
|
13548
|
-
readonly payload: {
|
|
13549
|
-
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
13550
|
-
readonly reason: string;
|
|
13551
|
-
};
|
|
13552
|
-
} | {
|
|
13553
13451
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
13554
13452
|
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
13555
13453
|
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
@@ -14121,6 +14019,108 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
14121
14019
|
readonly payload: {
|
|
14122
14020
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
14123
14021
|
};
|
|
14022
|
+
} | {
|
|
14023
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
14024
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
14025
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
14026
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
14027
|
+
readonly trace: {
|
|
14028
|
+
readonly span: {
|
|
14029
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
14030
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
14031
|
+
readonly sampled: boolean;
|
|
14032
|
+
readonly tracestate: string | null;
|
|
14033
|
+
};
|
|
14034
|
+
readonly links: readonly {
|
|
14035
|
+
readonly context: {
|
|
14036
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
14037
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
14038
|
+
readonly sampled: boolean;
|
|
14039
|
+
readonly tracestate: string | null;
|
|
14040
|
+
};
|
|
14041
|
+
readonly attributes: {
|
|
14042
|
+
readonly [x: string]: string | number | boolean;
|
|
14043
|
+
};
|
|
14044
|
+
}[];
|
|
14045
|
+
};
|
|
14046
|
+
readonly durability: "durable";
|
|
14047
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
14048
|
+
readonly namespace: "effect-durable-agent";
|
|
14049
|
+
readonly type: "CommandCompleted";
|
|
14050
|
+
readonly schemaVersion: number;
|
|
14051
|
+
readonly payload: {
|
|
14052
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
14053
|
+
};
|
|
14054
|
+
} | {
|
|
14055
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
14056
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
14057
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
14058
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
14059
|
+
readonly trace: {
|
|
14060
|
+
readonly span: {
|
|
14061
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
14062
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
14063
|
+
readonly sampled: boolean;
|
|
14064
|
+
readonly tracestate: string | null;
|
|
14065
|
+
};
|
|
14066
|
+
readonly links: readonly {
|
|
14067
|
+
readonly context: {
|
|
14068
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
14069
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
14070
|
+
readonly sampled: boolean;
|
|
14071
|
+
readonly tracestate: string | null;
|
|
14072
|
+
};
|
|
14073
|
+
readonly attributes: {
|
|
14074
|
+
readonly [x: string]: string | number | boolean;
|
|
14075
|
+
};
|
|
14076
|
+
}[];
|
|
14077
|
+
};
|
|
14078
|
+
readonly durability: "durable";
|
|
14079
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
14080
|
+
readonly namespace: "effect-durable-agent";
|
|
14081
|
+
readonly type: "CommandFailed";
|
|
14082
|
+
readonly schemaVersion: number;
|
|
14083
|
+
readonly payload: {
|
|
14084
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
14085
|
+
readonly error: {
|
|
14086
|
+
readonly message: string;
|
|
14087
|
+
readonly code?: string | undefined;
|
|
14088
|
+
readonly details?: unknown;
|
|
14089
|
+
};
|
|
14090
|
+
};
|
|
14091
|
+
} | {
|
|
14092
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
14093
|
+
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
14094
|
+
readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
|
|
14095
|
+
readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
|
|
14096
|
+
readonly trace: {
|
|
14097
|
+
readonly span: {
|
|
14098
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
14099
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
14100
|
+
readonly sampled: boolean;
|
|
14101
|
+
readonly tracestate: string | null;
|
|
14102
|
+
};
|
|
14103
|
+
readonly links: readonly {
|
|
14104
|
+
readonly context: {
|
|
14105
|
+
readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
|
|
14106
|
+
readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
|
|
14107
|
+
readonly sampled: boolean;
|
|
14108
|
+
readonly tracestate: string | null;
|
|
14109
|
+
};
|
|
14110
|
+
readonly attributes: {
|
|
14111
|
+
readonly [x: string]: string | number | boolean;
|
|
14112
|
+
};
|
|
14113
|
+
}[];
|
|
14114
|
+
};
|
|
14115
|
+
readonly durability: "durable";
|
|
14116
|
+
readonly dedupeKey?: (string & import("effect/Brand").Brand<"EventDedupeKey">) | undefined;
|
|
14117
|
+
readonly namespace: "effect-durable-agent";
|
|
14118
|
+
readonly type: "CommandCancelled";
|
|
14119
|
+
readonly schemaVersion: number;
|
|
14120
|
+
readonly payload: {
|
|
14121
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
14122
|
+
readonly reason: string;
|
|
14123
|
+
};
|
|
14124
14124
|
} | {
|
|
14125
14125
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
14126
14126
|
readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
|
|
@@ -53002,4 +53002,4 @@ declare const activeTurnIdentityForCommand: (state: ReducedState, commandId: Com
|
|
|
53002
53002
|
declare const classifyRecoverableWork: (state: ReducedState) => RecoverableWork;
|
|
53003
53003
|
//#endregion
|
|
53004
53004
|
export { SessionCommandAdmissionError as $, deciderMarkerDedupeKey as $n, PromptPrefixSummaryCompactionExecutorOptions as $t, TurnTerminal as A, RunSchedulingCancellationPlan as An, EDASink as At, messageContextSeq as B, waitingRunControl as Bn, CompactionError as Bt, RunRecord as C, SessionEventObserverShape as Cn, RunSchedulingDeliveryError as Ct, ToolDecision as D, RunGrantability as Dn, EDAProjectedSink as Dt, ToolCallRecord as E, RunGrantResult as En, EDAProjectedDurableSinkDefinition as Et, encodeReducedStateCheckpoint as F, canGrantRun as Fn, EDASinkRawDurableBatch as Ft, CommittedCommandTerminalEvent as G, EDADeciderItem as Gn, CompactionPlan as Gt, pendingStopCommand as H, EDADecider as Hn, CompactionExecutorInput as Ht, foldReducedState as I, planRunSchedulingCancellation as In, EDASinkRegistry as It, EDARuntimeConfig as J, EDADeciderView as Jn, CompactionPolicyShape as Jt, EDACommandTerminalEvent as K, EDADeciderOutcome as Kn, CompactionPolicy as Kt, frameworkReducedStateReducerName as L, planWaitingRunInterruption as Ln, EDASinkRegistryShape as Lt, activeTurnIdentityForCommand as M, RunSchedulingRequest as Mn, EDASinkContext as Mt, classifyRecoverableWork as N, RunSchedulingRequestRecord as Nn, EDASinkDurableBatch as Nt, ToolTerminal as O, RunRequestOutcome as On, EDARawDurableSinkDefinition as Ot, decodeReducedStateCheckpoint as P, RunSchedulingWork as Pn, EDASinkInterests as Pt, EDASubmittable as Q, deciderIdempotencyKeyViolation as Qn, LanguageModelSummaryCompactionExecutorOptions as Qt, frameworkReducedStateReducerSchemaVersion as R, runGrantability as Rn, EDASinkRunnerStartInput as Rt, ReducedStateCheckpointToolTerminal as S, SessionEventObserver as Sn, RunSchedulingDelivery as St, StopRequestRecord as T, LocalRunResolution as Tn, EDAEphemeralSinkDefinition as Tt, reduceCommittedEvents as U, EDADeciderDefinition as Un, CompactionExecutorShape as Ut, pendingCommands as V, SessionCommandAdmissionConflict as Vn, CompactionExecutor as Vt, reducedStateCheckpointEventSeqs as W, EDADeciderError as Wn, CompactionOutput as Wt, EDARuntimeShape as X, EDAErasedDecision as Xn, CompactionRunnerInput as Xt, EDARuntimeError as Y, EDADecision as Yn, CompactionRunner as Yt, EDARuntimeSubmit as Z, EDAEventDraft as Zn, CompactionRunnerShape as Zt, ReducedStateCheckpointCommandRecord as _, EDASessionEventPage as _n, InferenceRunner as _t, CompactionRecord as a, promptPrefixSummaryCompactionExecutor as an, maxDeciderResultBytes as ar, SessionDecideError as at, ReducedStateCheckpointToolCallRecord as b, EDASessionSnapshot as bn, RunScheduler as bt, InferenceRecord as c, EDAToolExecutionContext as cn, EDAProjectedPromptContext as cr, SessionForkedCommand as ct, LifecycleTiming as d, ToolParamsSchema as dn, EDAPromptProjectorShape as dr, SessionRunInput as dt, defaultCompactionCharsPerToken as en, deciderNamePattern as er, SessionCommandCancelled as et, MessageRecord as f, ToolRecovery as fn, EDA_PROMPT_OPTIONS_KEY as fr, SessionState as ft, ReducedState as g, toolRecoveryPolicy as gn, nativeCompactionSummaryMessage as gr, TurnRunner as gt, RecoveryContinuationRecord as h, maxToolCallAttempts as hn, isEDACacheBreakpoint as hr, SessionStateSnapshotData as ht, CommandTerminal as i, defaultCompactionThresholdTokens as in, maxDeciderIdempotencyKeyLength as ir, SessionCommandResult as it, activeCommand as j, RunSchedulingInput as jn, EDASinkCheckpoint as jt, TurnRecord as k, RunResolution as kn, EDARawSink as kt, InferenceTerminal as l, EDAToolRegistry as ln, EDAPromptProjectionInput as lr, SessionNoRunnableCommand as lt, RecoverableWork as m, makeEDAToolkit as mn, getNativeCompaction as mr, SessionStateShape as mt, ActiveTurnIdentity as n, defaultCompactionRetainTailTokens as nn, encodeDeciderJson as nr, SessionCommandFailed as nt, CompactionTerminal as o, EventFactory as on, SessionContext as or, SessionDrainProcessed as ot, PendingCommand as p, ToolRecoveryPolicy as pn, buildEDAPrompt as pr, SessionStateError as pt, EDARuntime as q, EDADeciderRegistry as qn, CompactionPolicyInput as qt, CommandRecord as r, defaultCompactionSummaryInstructions as rn, makeEDADeciderRegistry as rr, SessionCommandOutcome as rt, ContextRecord as s, EDAModelToolkit as sn, EDANativeCompaction as sr, SessionDrainResult as st, ActiveCommandEvidence as t, defaultCompactionMinSummarizableTokens as tn, edaReservedDeciderNamePrefix as tr, SessionCommandCompleted as tt, LifecycleFailure as u, EDAToolRegistryShape as un, EDAPromptProjector as ur, SessionNoRunnableReason as ut, ReducedStateCheckpointMessageRecord as v, EDASessionQuery as vn, InferenceRunnerStreamPart as vt, RunTerminal as w, DeferredRunResolution as wn, EDADurableSinkDefinition as wt, ReducedStateCheckpointToolDecision as x, LiveEventBus as xn, RunSchedulerShape as xt, ReducedStateCheckpointPayload as y, EDASessionQueryShape as yn, ToolExecutor as yt, initialReducedState as z, runSchedulingInputMessageIds as zn, ApproximateTokenThresholdCompactionPolicyOptions as zt };
|
|
53005
|
-
//# sourceMappingURL=reduced-state-
|
|
53005
|
+
//# sourceMappingURL=reduced-state-abeH0MOf.d.ts.map
|