@opencode-ai/protocol 0.0.0-next-14813 → 0.0.0-next-14815
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/groups/event.d.ts +643 -1113
- package/dist/groups/message.d.ts +10 -0
- package/dist/groups/session.d.ts +251 -537
- package/package.json +2 -2
package/dist/groups/session.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PromptInput } from "@opencode-ai/schema/prompt-input";
|
|
2
|
+
import { Event } from "@opencode-ai/schema/event";
|
|
2
3
|
import { Context, Effect, Schema } from "effect";
|
|
3
4
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSchema } from "effect/unstable/httpapi";
|
|
4
5
|
import { ConflictError, CommandEvaluationError, CommandNotFoundError, InvalidCursorError, InvalidRequestError, MessageNotFoundError, ServiceUnavailableError, SessionBusyError, SessionNotFoundError, SkillNotFoundError, UnknownError } from "../errors.js";
|
|
@@ -32,11 +33,11 @@ declare const SessionsCursorInput: Schema.Union<readonly [Schema.Struct<{
|
|
|
32
33
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
33
34
|
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
34
35
|
}>;
|
|
36
|
+
readonly subpath: Schema.optional<Schema.brand<Schema.String, "RelativePath">>;
|
|
35
37
|
readonly parentID: Schema.optional<Schema.Union<readonly [Schema.brand<Schema.String, "SessionID"> & {
|
|
36
38
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
37
39
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
38
40
|
}, Schema.decodeTo<Schema.Null, Schema.Literal<"null">, never, never>]>>;
|
|
39
|
-
readonly subpath: Schema.optional<Schema.brand<Schema.String, "RelativePath">>;
|
|
40
41
|
readonly order: Schema.optional<Schema.Union<readonly [Schema.Literal<"asc">, Schema.Literal<"desc">]>>;
|
|
41
42
|
readonly anchor: Schema.Struct<{
|
|
42
43
|
readonly id: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -88,8 +89,8 @@ export declare const SessionsCursor: Schema.brand<Schema.String, "SessionsCursor
|
|
|
88
89
|
};
|
|
89
90
|
readonly search?: string | undefined;
|
|
90
91
|
readonly workspace?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
91
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | null | undefined;
|
|
92
92
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
93
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | null | undefined;
|
|
93
94
|
readonly order?: "asc" | "desc" | undefined;
|
|
94
95
|
} | {
|
|
95
96
|
readonly anchor: {
|
|
@@ -221,6 +222,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
221
222
|
readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
222
223
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
223
224
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
225
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
224
226
|
};
|
|
225
227
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
226
228
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -241,6 +243,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
241
243
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
242
244
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
243
245
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
246
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
244
247
|
};
|
|
245
248
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
246
249
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -287,8 +290,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
287
290
|
};
|
|
288
291
|
readonly search?: string | undefined;
|
|
289
292
|
readonly workspace?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
290
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | null | undefined;
|
|
291
293
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
294
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | null | undefined;
|
|
292
295
|
readonly order?: "asc" | "desc" | undefined;
|
|
293
296
|
} | {
|
|
294
297
|
readonly anchor: {
|
|
@@ -324,8 +327,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
324
327
|
};
|
|
325
328
|
readonly search?: string | undefined;
|
|
326
329
|
readonly workspace?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
327
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | null | undefined;
|
|
328
330
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
331
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | null | undefined;
|
|
329
332
|
readonly order?: "asc" | "desc" | undefined;
|
|
330
333
|
} | {
|
|
331
334
|
readonly anchor: {
|
|
@@ -453,6 +456,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
453
456
|
readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
454
457
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
455
458
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
459
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
456
460
|
};
|
|
457
461
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
458
462
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -473,6 +477,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
473
477
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
474
478
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
475
479
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
480
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
476
481
|
};
|
|
477
482
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
478
483
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -588,6 +593,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
588
593
|
readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
589
594
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
590
595
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
596
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
591
597
|
};
|
|
592
598
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
593
599
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -608,6 +614,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
608
614
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
609
615
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
610
616
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
617
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
611
618
|
};
|
|
612
619
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
613
620
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -635,6 +642,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
635
642
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
636
643
|
readonly messageID: Schema.optional<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
637
644
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
645
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
638
646
|
}>;
|
|
639
647
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
640
648
|
readonly data: Schema.Struct<{
|
|
@@ -716,6 +724,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
716
724
|
readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
717
725
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
718
726
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
727
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
719
728
|
};
|
|
720
729
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
721
730
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -736,6 +745,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
736
745
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
737
746
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
738
747
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
748
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
739
749
|
};
|
|
740
750
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
741
751
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -800,6 +810,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
800
810
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
801
811
|
readonly id: Schema.optional<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
802
812
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
813
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
803
814
|
}>;
|
|
804
815
|
readonly prompt: Schema.Struct<{
|
|
805
816
|
readonly text: Schema.String;
|
|
@@ -883,6 +894,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
883
894
|
readonly admittedSeq: Schema.Int;
|
|
884
895
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
885
896
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
897
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
886
898
|
};
|
|
887
899
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
888
900
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1024,6 +1036,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1024
1036
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
1025
1037
|
readonly id: Schema.optional<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1026
1038
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1039
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1027
1040
|
}>;
|
|
1028
1041
|
readonly command: Schema.String;
|
|
1029
1042
|
readonly arguments: Schema.optional<Schema.String>;
|
|
@@ -1124,6 +1137,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1124
1137
|
readonly admittedSeq: Schema.Int;
|
|
1125
1138
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1126
1139
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1140
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1127
1141
|
};
|
|
1128
1142
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1129
1143
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1265,6 +1279,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1265
1279
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
1266
1280
|
readonly id: Schema.optional<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1267
1281
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1282
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1268
1283
|
}>;
|
|
1269
1284
|
readonly skill: Schema.String;
|
|
1270
1285
|
readonly resume: Schema.optional<Schema.Boolean>;
|
|
@@ -1305,12 +1320,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1305
1320
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
1306
1321
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1307
1322
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1323
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1308
1324
|
};
|
|
1309
1325
|
readonly files: Schema.optional<Schema.Boolean>;
|
|
1310
1326
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
1311
1327
|
readonly data: Schema.Struct<{
|
|
1312
1328
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1313
1329
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1330
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1314
1331
|
};
|
|
1315
1332
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1316
1333
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -1350,6 +1367,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1350
1367
|
readonly agent: Schema.String;
|
|
1351
1368
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1352
1369
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1370
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1353
1371
|
};
|
|
1354
1372
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1355
1373
|
readonly time: Schema.Struct<{
|
|
@@ -1376,6 +1394,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1376
1394
|
}>;
|
|
1377
1395
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1378
1396
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1397
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1379
1398
|
};
|
|
1380
1399
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1381
1400
|
readonly time: Schema.Struct<{
|
|
@@ -1462,6 +1481,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1462
1481
|
readonly type: Schema.Literal<"user">;
|
|
1463
1482
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1464
1483
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1484
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1465
1485
|
};
|
|
1466
1486
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1467
1487
|
readonly time: Schema.Struct<{
|
|
@@ -1477,6 +1497,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1477
1497
|
readonly type: Schema.Literal<"synthetic">;
|
|
1478
1498
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1479
1499
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1500
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1480
1501
|
};
|
|
1481
1502
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1482
1503
|
readonly time: Schema.Struct<{
|
|
@@ -1487,6 +1508,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1487
1508
|
readonly text: Schema.String;
|
|
1488
1509
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1489
1510
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1511
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1490
1512
|
};
|
|
1491
1513
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1492
1514
|
readonly time: Schema.Struct<{
|
|
@@ -1498,6 +1520,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1498
1520
|
readonly text: Schema.String;
|
|
1499
1521
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1500
1522
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1523
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1501
1524
|
};
|
|
1502
1525
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1503
1526
|
readonly time: Schema.Struct<{
|
|
@@ -1514,6 +1537,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1514
1537
|
}>;
|
|
1515
1538
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1516
1539
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1540
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1517
1541
|
};
|
|
1518
1542
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1519
1543
|
}>, Schema.Struct<{
|
|
@@ -1716,11 +1740,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1716
1740
|
}>;
|
|
1717
1741
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1718
1742
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1743
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1719
1744
|
};
|
|
1720
1745
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1721
1746
|
}>, Schema.Struct<{
|
|
1722
1747
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1723
1748
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1749
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1724
1750
|
};
|
|
1725
1751
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1726
1752
|
readonly time: Schema.Struct<{
|
|
@@ -1767,8 +1793,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1767
1793
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1768
1794
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1769
1795
|
};
|
|
1796
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1770
1797
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1771
|
-
readonly type: Schema.Literal<"
|
|
1798
|
+
readonly type: Schema.Literal<"agent.selected">;
|
|
1772
1799
|
readonly durable: Schema.Struct<{
|
|
1773
1800
|
readonly aggregateID: Schema.String;
|
|
1774
1801
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1794,29 +1821,21 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1794
1821
|
}>, never, never>;
|
|
1795
1822
|
}>>, never, never>;
|
|
1796
1823
|
readonly data: Schema.Struct<{
|
|
1797
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1798
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1799
|
-
};
|
|
1800
1824
|
readonly agent: Schema.String;
|
|
1801
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1802
1825
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1803
1826
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1804
1827
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1805
1828
|
};
|
|
1806
1829
|
}>;
|
|
1807
1830
|
}> & {
|
|
1808
|
-
type: "
|
|
1831
|
+
type: "agent.selected";
|
|
1809
1832
|
durability: "durable";
|
|
1810
1833
|
durable: {
|
|
1811
1834
|
readonly version: number;
|
|
1812
1835
|
readonly aggregate: string;
|
|
1813
1836
|
};
|
|
1814
1837
|
data: Schema.Struct<{
|
|
1815
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1816
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1817
|
-
};
|
|
1818
1838
|
readonly agent: Schema.String;
|
|
1819
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1820
1839
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1821
1840
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1822
1841
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1826,8 +1845,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1826
1845
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1827
1846
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1828
1847
|
};
|
|
1848
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1829
1849
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1830
|
-
readonly type: Schema.Literal<"
|
|
1850
|
+
readonly type: Schema.Literal<"model.selected">;
|
|
1831
1851
|
readonly durable: Schema.Struct<{
|
|
1832
1852
|
readonly aggregateID: Schema.String;
|
|
1833
1853
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1853,9 +1873,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1853
1873
|
}>, never, never>;
|
|
1854
1874
|
}>>, never, never>;
|
|
1855
1875
|
readonly data: Schema.Struct<{
|
|
1856
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1857
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1858
|
-
};
|
|
1859
1876
|
readonly model: Schema.Struct<{
|
|
1860
1877
|
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
1861
1878
|
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
@@ -1873,23 +1890,19 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1873
1890
|
};
|
|
1874
1891
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
1875
1892
|
}>;
|
|
1876
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1877
1893
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1878
1894
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1879
1895
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1880
1896
|
};
|
|
1881
1897
|
}>;
|
|
1882
1898
|
}> & {
|
|
1883
|
-
type: "
|
|
1899
|
+
type: "model.selected";
|
|
1884
1900
|
durability: "durable";
|
|
1885
1901
|
durable: {
|
|
1886
1902
|
readonly version: number;
|
|
1887
1903
|
readonly aggregate: string;
|
|
1888
1904
|
};
|
|
1889
1905
|
data: Schema.Struct<{
|
|
1890
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1891
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1892
|
-
};
|
|
1893
1906
|
readonly model: Schema.Struct<{
|
|
1894
1907
|
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
1895
1908
|
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
@@ -1907,7 +1920,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1907
1920
|
};
|
|
1908
1921
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
1909
1922
|
}>;
|
|
1910
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1911
1923
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1912
1924
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1913
1925
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1917,8 +1929,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1917
1929
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1918
1930
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1919
1931
|
};
|
|
1932
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1920
1933
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1921
|
-
readonly type: Schema.Literal<"session.
|
|
1934
|
+
readonly type: Schema.Literal<"session.moved">;
|
|
1922
1935
|
readonly durable: Schema.Struct<{
|
|
1923
1936
|
readonly aggregateID: Schema.String;
|
|
1924
1937
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1954,15 +1967,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1954
1967
|
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1955
1968
|
}>, never, never>;
|
|
1956
1969
|
}>;
|
|
1957
|
-
readonly
|
|
1958
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1970
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1959
1971
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1960
1972
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1961
1973
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1962
1974
|
};
|
|
1963
1975
|
}>;
|
|
1964
1976
|
}> & {
|
|
1965
|
-
type: "session.
|
|
1977
|
+
type: "session.moved";
|
|
1966
1978
|
durability: "durable";
|
|
1967
1979
|
durable: {
|
|
1968
1980
|
readonly version: number;
|
|
@@ -1979,8 +1991,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1979
1991
|
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1980
1992
|
}>, never, never>;
|
|
1981
1993
|
}>;
|
|
1982
|
-
readonly
|
|
1983
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1994
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1984
1995
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1985
1996
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1986
1997
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1990,8 +2001,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1990
2001
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1991
2002
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1992
2003
|
};
|
|
2004
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1993
2005
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1994
|
-
readonly type: Schema.Literal<"
|
|
2006
|
+
readonly type: Schema.Literal<"renamed">;
|
|
1995
2007
|
readonly durable: Schema.Struct<{
|
|
1996
2008
|
readonly aggregateID: Schema.String;
|
|
1997
2009
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2018,14 +2030,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2018
2030
|
}>>, never, never>;
|
|
2019
2031
|
readonly data: Schema.Struct<{
|
|
2020
2032
|
readonly title: Schema.String;
|
|
2021
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2022
2033
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2023
2034
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2024
2035
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2025
2036
|
};
|
|
2026
2037
|
}>;
|
|
2027
2038
|
}> & {
|
|
2028
|
-
type: "
|
|
2039
|
+
type: "renamed";
|
|
2029
2040
|
durability: "durable";
|
|
2030
2041
|
durable: {
|
|
2031
2042
|
readonly version: number;
|
|
@@ -2033,7 +2044,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2033
2044
|
};
|
|
2034
2045
|
data: Schema.Struct<{
|
|
2035
2046
|
readonly title: Schema.String;
|
|
2036
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2037
2047
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2038
2048
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2039
2049
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2043,8 +2053,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2043
2053
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2044
2054
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2045
2055
|
};
|
|
2056
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2046
2057
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2047
|
-
readonly type: Schema.Literal<"
|
|
2058
|
+
readonly type: Schema.Literal<"forked">;
|
|
2048
2059
|
readonly durable: Schema.Struct<{
|
|
2049
2060
|
readonly aggregateID: Schema.String;
|
|
2050
2061
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2074,19 +2085,20 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2074
2085
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2075
2086
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2076
2087
|
};
|
|
2077
|
-
readonly
|
|
2088
|
+
readonly from: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2078
2089
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2090
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2079
2091
|
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2080
2092
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2093
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2081
2094
|
}>, never, never>;
|
|
2082
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2083
2095
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2084
2096
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2085
2097
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2086
2098
|
};
|
|
2087
2099
|
}>;
|
|
2088
2100
|
}> & {
|
|
2089
|
-
type: "
|
|
2101
|
+
type: "forked";
|
|
2090
2102
|
durability: "durable";
|
|
2091
2103
|
durable: {
|
|
2092
2104
|
readonly version: number;
|
|
@@ -2097,12 +2109,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2097
2109
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2098
2110
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2099
2111
|
};
|
|
2100
|
-
readonly
|
|
2112
|
+
readonly from: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2101
2113
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2114
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2102
2115
|
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2103
2116
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2117
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2104
2118
|
}>, never, never>;
|
|
2105
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2106
2119
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2107
2120
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2108
2121
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2112,8 +2125,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2112
2125
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2113
2126
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2114
2127
|
};
|
|
2128
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2115
2129
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2116
|
-
readonly type: Schema.Literal<"
|
|
2130
|
+
readonly type: Schema.Literal<"prompt.promoted">;
|
|
2117
2131
|
readonly durable: Schema.Struct<{
|
|
2118
2132
|
readonly aggregateID: Schema.String;
|
|
2119
2133
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2139,288 +2153,39 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2139
2153
|
}>, never, never>;
|
|
2140
2154
|
}>>, never, never>;
|
|
2141
2155
|
readonly data: Schema.Struct<{
|
|
2142
|
-
|
|
2143
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2144
|
-
};
|
|
2145
|
-
prompt: Schema.Struct<{
|
|
2146
|
-
readonly text: Schema.String;
|
|
2147
|
-
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
2148
|
-
readonly uri: Schema.String;
|
|
2149
|
-
readonly mime: Schema.String;
|
|
2150
|
-
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2151
|
-
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2152
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2153
|
-
readonly start: Schema.Finite;
|
|
2154
|
-
readonly end: Schema.Finite;
|
|
2155
|
-
readonly text: Schema.String;
|
|
2156
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2157
|
-
readonly start: Schema.Finite;
|
|
2158
|
-
readonly end: Schema.Finite;
|
|
2159
|
-
readonly text: Schema.String;
|
|
2160
|
-
}>>, never, never>;
|
|
2161
|
-
}> & {
|
|
2162
|
-
create: (input: SessionEvent.FileAttachment) => {
|
|
2163
|
-
readonly uri: string;
|
|
2164
|
-
readonly mime: string;
|
|
2165
|
-
readonly name?: string | undefined;
|
|
2166
|
-
readonly description?: string | undefined;
|
|
2167
|
-
readonly source?: {
|
|
2168
|
-
readonly start: number;
|
|
2169
|
-
readonly end: number;
|
|
2170
|
-
readonly text: string;
|
|
2171
|
-
} | undefined;
|
|
2172
|
-
};
|
|
2173
|
-
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2174
|
-
readonly uri: Schema.String;
|
|
2175
|
-
readonly mime: Schema.String;
|
|
2176
|
-
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2177
|
-
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2178
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2179
|
-
readonly start: Schema.Finite;
|
|
2180
|
-
readonly end: Schema.Finite;
|
|
2181
|
-
readonly text: Schema.String;
|
|
2182
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2183
|
-
readonly start: Schema.Finite;
|
|
2184
|
-
readonly end: Schema.Finite;
|
|
2185
|
-
readonly text: Schema.String;
|
|
2186
|
-
}>>, never, never>;
|
|
2187
|
-
}> & {
|
|
2188
|
-
create: (input: SessionEvent.FileAttachment) => {
|
|
2189
|
-
readonly uri: string;
|
|
2190
|
-
readonly mime: string;
|
|
2191
|
-
readonly name?: string | undefined;
|
|
2192
|
-
readonly description?: string | undefined;
|
|
2193
|
-
readonly source?: {
|
|
2194
|
-
readonly start: number;
|
|
2195
|
-
readonly end: number;
|
|
2196
|
-
readonly text: string;
|
|
2197
|
-
} | undefined;
|
|
2198
|
-
};
|
|
2199
|
-
}>>, never, never>;
|
|
2200
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
2201
|
-
readonly name: Schema.String;
|
|
2202
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2203
|
-
readonly start: Schema.Finite;
|
|
2204
|
-
readonly end: Schema.Finite;
|
|
2205
|
-
readonly text: Schema.String;
|
|
2206
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2207
|
-
readonly start: Schema.Finite;
|
|
2208
|
-
readonly end: Schema.Finite;
|
|
2209
|
-
readonly text: Schema.String;
|
|
2210
|
-
}>>, never, never>;
|
|
2211
|
-
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2212
|
-
readonly name: Schema.String;
|
|
2213
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2214
|
-
readonly start: Schema.Finite;
|
|
2215
|
-
readonly end: Schema.Finite;
|
|
2216
|
-
readonly text: Schema.String;
|
|
2217
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2218
|
-
readonly start: Schema.Finite;
|
|
2219
|
-
readonly end: Schema.Finite;
|
|
2220
|
-
readonly text: Schema.String;
|
|
2221
|
-
}>>, never, never>;
|
|
2222
|
-
}>>>, never, never>;
|
|
2223
|
-
}> & {
|
|
2224
|
-
equivalence: import("effect/Equivalence").Equivalence<{
|
|
2225
|
-
readonly text: string;
|
|
2226
|
-
readonly files?: readonly {
|
|
2227
|
-
readonly uri: string;
|
|
2228
|
-
readonly mime: string;
|
|
2229
|
-
readonly name?: string | undefined;
|
|
2230
|
-
readonly description?: string | undefined;
|
|
2231
|
-
readonly source?: {
|
|
2232
|
-
readonly start: number;
|
|
2233
|
-
readonly end: number;
|
|
2234
|
-
readonly text: string;
|
|
2235
|
-
} | undefined;
|
|
2236
|
-
}[] | undefined;
|
|
2237
|
-
readonly agents?: readonly {
|
|
2238
|
-
readonly name: string;
|
|
2239
|
-
readonly source?: {
|
|
2240
|
-
readonly start: number;
|
|
2241
|
-
readonly end: number;
|
|
2242
|
-
readonly text: string;
|
|
2243
|
-
} | undefined;
|
|
2244
|
-
}[] | undefined;
|
|
2245
|
-
}>;
|
|
2246
|
-
fromUserMessage: (input: Pick<import("@opencode-ai/schema/prompt").Prompt, "text" | "files" | "agents">) => {
|
|
2247
|
-
readonly text: string;
|
|
2248
|
-
readonly files?: readonly {
|
|
2249
|
-
readonly uri: string;
|
|
2250
|
-
readonly mime: string;
|
|
2251
|
-
readonly name?: string | undefined;
|
|
2252
|
-
readonly description?: string | undefined;
|
|
2253
|
-
readonly source?: {
|
|
2254
|
-
readonly start: number;
|
|
2255
|
-
readonly end: number;
|
|
2256
|
-
readonly text: string;
|
|
2257
|
-
} | undefined;
|
|
2258
|
-
}[] | undefined;
|
|
2259
|
-
readonly agents?: readonly {
|
|
2260
|
-
readonly name: string;
|
|
2261
|
-
readonly source?: {
|
|
2262
|
-
readonly start: number;
|
|
2263
|
-
readonly end: number;
|
|
2264
|
-
readonly text: string;
|
|
2265
|
-
} | undefined;
|
|
2266
|
-
}[] | undefined;
|
|
2267
|
-
};
|
|
2268
|
-
};
|
|
2269
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
2270
|
-
timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2271
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2156
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2272
2157
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2273
2158
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2274
2159
|
};
|
|
2160
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2161
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2162
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2163
|
+
};
|
|
2275
2164
|
}>;
|
|
2276
2165
|
}> & {
|
|
2277
|
-
type: "
|
|
2166
|
+
type: "prompt.promoted";
|
|
2278
2167
|
durability: "durable";
|
|
2279
2168
|
durable: {
|
|
2280
2169
|
readonly version: number;
|
|
2281
2170
|
readonly aggregate: string;
|
|
2282
2171
|
};
|
|
2283
2172
|
data: Schema.Struct<{
|
|
2284
|
-
|
|
2285
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2286
|
-
};
|
|
2287
|
-
prompt: Schema.Struct<{
|
|
2288
|
-
readonly text: Schema.String;
|
|
2289
|
-
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
2290
|
-
readonly uri: Schema.String;
|
|
2291
|
-
readonly mime: Schema.String;
|
|
2292
|
-
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2293
|
-
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2294
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2295
|
-
readonly start: Schema.Finite;
|
|
2296
|
-
readonly end: Schema.Finite;
|
|
2297
|
-
readonly text: Schema.String;
|
|
2298
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2299
|
-
readonly start: Schema.Finite;
|
|
2300
|
-
readonly end: Schema.Finite;
|
|
2301
|
-
readonly text: Schema.String;
|
|
2302
|
-
}>>, never, never>;
|
|
2303
|
-
}> & {
|
|
2304
|
-
create: (input: SessionEvent.FileAttachment) => {
|
|
2305
|
-
readonly uri: string;
|
|
2306
|
-
readonly mime: string;
|
|
2307
|
-
readonly name?: string | undefined;
|
|
2308
|
-
readonly description?: string | undefined;
|
|
2309
|
-
readonly source?: {
|
|
2310
|
-
readonly start: number;
|
|
2311
|
-
readonly end: number;
|
|
2312
|
-
readonly text: string;
|
|
2313
|
-
} | undefined;
|
|
2314
|
-
};
|
|
2315
|
-
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2316
|
-
readonly uri: Schema.String;
|
|
2317
|
-
readonly mime: Schema.String;
|
|
2318
|
-
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2319
|
-
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2320
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2321
|
-
readonly start: Schema.Finite;
|
|
2322
|
-
readonly end: Schema.Finite;
|
|
2323
|
-
readonly text: Schema.String;
|
|
2324
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2325
|
-
readonly start: Schema.Finite;
|
|
2326
|
-
readonly end: Schema.Finite;
|
|
2327
|
-
readonly text: Schema.String;
|
|
2328
|
-
}>>, never, never>;
|
|
2329
|
-
}> & {
|
|
2330
|
-
create: (input: SessionEvent.FileAttachment) => {
|
|
2331
|
-
readonly uri: string;
|
|
2332
|
-
readonly mime: string;
|
|
2333
|
-
readonly name?: string | undefined;
|
|
2334
|
-
readonly description?: string | undefined;
|
|
2335
|
-
readonly source?: {
|
|
2336
|
-
readonly start: number;
|
|
2337
|
-
readonly end: number;
|
|
2338
|
-
readonly text: string;
|
|
2339
|
-
} | undefined;
|
|
2340
|
-
};
|
|
2341
|
-
}>>, never, never>;
|
|
2342
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
2343
|
-
readonly name: Schema.String;
|
|
2344
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2345
|
-
readonly start: Schema.Finite;
|
|
2346
|
-
readonly end: Schema.Finite;
|
|
2347
|
-
readonly text: Schema.String;
|
|
2348
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2349
|
-
readonly start: Schema.Finite;
|
|
2350
|
-
readonly end: Schema.Finite;
|
|
2351
|
-
readonly text: Schema.String;
|
|
2352
|
-
}>>, never, never>;
|
|
2353
|
-
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2354
|
-
readonly name: Schema.String;
|
|
2355
|
-
readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2356
|
-
readonly start: Schema.Finite;
|
|
2357
|
-
readonly end: Schema.Finite;
|
|
2358
|
-
readonly text: Schema.String;
|
|
2359
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2360
|
-
readonly start: Schema.Finite;
|
|
2361
|
-
readonly end: Schema.Finite;
|
|
2362
|
-
readonly text: Schema.String;
|
|
2363
|
-
}>>, never, never>;
|
|
2364
|
-
}>>>, never, never>;
|
|
2365
|
-
}> & {
|
|
2366
|
-
equivalence: import("effect/Equivalence").Equivalence<{
|
|
2367
|
-
readonly text: string;
|
|
2368
|
-
readonly files?: readonly {
|
|
2369
|
-
readonly uri: string;
|
|
2370
|
-
readonly mime: string;
|
|
2371
|
-
readonly name?: string | undefined;
|
|
2372
|
-
readonly description?: string | undefined;
|
|
2373
|
-
readonly source?: {
|
|
2374
|
-
readonly start: number;
|
|
2375
|
-
readonly end: number;
|
|
2376
|
-
readonly text: string;
|
|
2377
|
-
} | undefined;
|
|
2378
|
-
}[] | undefined;
|
|
2379
|
-
readonly agents?: readonly {
|
|
2380
|
-
readonly name: string;
|
|
2381
|
-
readonly source?: {
|
|
2382
|
-
readonly start: number;
|
|
2383
|
-
readonly end: number;
|
|
2384
|
-
readonly text: string;
|
|
2385
|
-
} | undefined;
|
|
2386
|
-
}[] | undefined;
|
|
2387
|
-
}>;
|
|
2388
|
-
fromUserMessage: (input: Pick<import("@opencode-ai/schema/prompt").Prompt, "text" | "files" | "agents">) => {
|
|
2389
|
-
readonly text: string;
|
|
2390
|
-
readonly files?: readonly {
|
|
2391
|
-
readonly uri: string;
|
|
2392
|
-
readonly mime: string;
|
|
2393
|
-
readonly name?: string | undefined;
|
|
2394
|
-
readonly description?: string | undefined;
|
|
2395
|
-
readonly source?: {
|
|
2396
|
-
readonly start: number;
|
|
2397
|
-
readonly end: number;
|
|
2398
|
-
readonly text: string;
|
|
2399
|
-
} | undefined;
|
|
2400
|
-
}[] | undefined;
|
|
2401
|
-
readonly agents?: readonly {
|
|
2402
|
-
readonly name: string;
|
|
2403
|
-
readonly source?: {
|
|
2404
|
-
readonly start: number;
|
|
2405
|
-
readonly end: number;
|
|
2406
|
-
readonly text: string;
|
|
2407
|
-
} | undefined;
|
|
2408
|
-
}[] | undefined;
|
|
2409
|
-
};
|
|
2410
|
-
};
|
|
2411
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
2412
|
-
timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2413
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2173
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2414
2174
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2415
2175
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2416
2176
|
};
|
|
2177
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2178
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2179
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2180
|
+
};
|
|
2417
2181
|
}>;
|
|
2418
2182
|
}) | (Schema.Struct<{
|
|
2419
2183
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2420
2184
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2421
2185
|
};
|
|
2186
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2422
2187
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2423
|
-
readonly type: Schema.Literal<"
|
|
2188
|
+
readonly type: Schema.Literal<"prompt.admitted">;
|
|
2424
2189
|
readonly durable: Schema.Struct<{
|
|
2425
2190
|
readonly aggregateID: Schema.String;
|
|
2426
2191
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2446,8 +2211,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2446
2211
|
}>, never, never>;
|
|
2447
2212
|
}>>, never, never>;
|
|
2448
2213
|
readonly data: Schema.Struct<{
|
|
2449
|
-
|
|
2214
|
+
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2450
2215
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2216
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2451
2217
|
};
|
|
2452
2218
|
prompt: Schema.Struct<{
|
|
2453
2219
|
readonly text: Schema.String;
|
|
@@ -2574,22 +2340,22 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2574
2340
|
};
|
|
2575
2341
|
};
|
|
2576
2342
|
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
2577
|
-
timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2578
2343
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2579
2344
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2580
2345
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2581
2346
|
};
|
|
2582
2347
|
}>;
|
|
2583
2348
|
}> & {
|
|
2584
|
-
type: "
|
|
2349
|
+
type: "prompt.admitted";
|
|
2585
2350
|
durability: "durable";
|
|
2586
2351
|
durable: {
|
|
2587
2352
|
readonly version: number;
|
|
2588
2353
|
readonly aggregate: string;
|
|
2589
2354
|
};
|
|
2590
2355
|
data: Schema.Struct<{
|
|
2591
|
-
|
|
2356
|
+
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2592
2357
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2358
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2593
2359
|
};
|
|
2594
2360
|
prompt: Schema.Struct<{
|
|
2595
2361
|
readonly text: Schema.String;
|
|
@@ -2716,7 +2482,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2716
2482
|
};
|
|
2717
2483
|
};
|
|
2718
2484
|
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
2719
|
-
timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2720
2485
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2721
2486
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2722
2487
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2726,8 +2491,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2726
2491
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2727
2492
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2728
2493
|
};
|
|
2494
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2729
2495
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2730
|
-
readonly type: Schema.Literal<"session.
|
|
2496
|
+
readonly type: Schema.Literal<"session.context.updated">;
|
|
2731
2497
|
readonly durable: Schema.Struct<{
|
|
2732
2498
|
readonly aggregateID: Schema.String;
|
|
2733
2499
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2753,29 +2519,21 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2753
2519
|
}>, never, never>;
|
|
2754
2520
|
}>>, never, never>;
|
|
2755
2521
|
readonly data: Schema.Struct<{
|
|
2756
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2757
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2758
|
-
};
|
|
2759
2522
|
readonly text: Schema.String;
|
|
2760
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2761
2523
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2762
2524
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2763
2525
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2764
2526
|
};
|
|
2765
2527
|
}>;
|
|
2766
2528
|
}> & {
|
|
2767
|
-
type: "session.
|
|
2529
|
+
type: "session.context.updated";
|
|
2768
2530
|
durability: "durable";
|
|
2769
2531
|
durable: {
|
|
2770
2532
|
readonly version: number;
|
|
2771
2533
|
readonly aggregate: string;
|
|
2772
2534
|
};
|
|
2773
2535
|
data: Schema.Struct<{
|
|
2774
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2775
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2776
|
-
};
|
|
2777
2536
|
readonly text: Schema.String;
|
|
2778
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2779
2537
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2780
2538
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2781
2539
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2785,8 +2543,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2785
2543
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2786
2544
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2787
2545
|
};
|
|
2546
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2788
2547
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2789
|
-
readonly type: Schema.Literal<"
|
|
2548
|
+
readonly type: Schema.Literal<"synthetic">;
|
|
2790
2549
|
readonly durable: Schema.Struct<{
|
|
2791
2550
|
readonly aggregateID: Schema.String;
|
|
2792
2551
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2812,33 +2571,25 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2812
2571
|
}>, never, never>;
|
|
2813
2572
|
}>>, never, never>;
|
|
2814
2573
|
readonly data: Schema.Struct<{
|
|
2815
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2816
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2817
|
-
};
|
|
2818
2574
|
readonly text: Schema.String;
|
|
2819
2575
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2820
2576
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2821
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2822
2577
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2823
2578
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2824
2579
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2825
2580
|
};
|
|
2826
2581
|
}>;
|
|
2827
2582
|
}> & {
|
|
2828
|
-
type: "
|
|
2583
|
+
type: "synthetic";
|
|
2829
2584
|
durability: "durable";
|
|
2830
2585
|
durable: {
|
|
2831
2586
|
readonly version: number;
|
|
2832
2587
|
readonly aggregate: string;
|
|
2833
2588
|
};
|
|
2834
2589
|
data: Schema.Struct<{
|
|
2835
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2836
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2837
|
-
};
|
|
2838
2590
|
readonly text: Schema.String;
|
|
2839
2591
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2840
2592
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2841
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2842
2593
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2843
2594
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2844
2595
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2848,8 +2599,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2848
2599
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2849
2600
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2850
2601
|
};
|
|
2602
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2851
2603
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2852
|
-
readonly type: Schema.Literal<"
|
|
2604
|
+
readonly type: Schema.Literal<"skill.activated">;
|
|
2853
2605
|
readonly durable: Schema.Struct<{
|
|
2854
2606
|
readonly aggregateID: Schema.String;
|
|
2855
2607
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2875,31 +2627,23 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2875
2627
|
}>, never, never>;
|
|
2876
2628
|
}>>, never, never>;
|
|
2877
2629
|
readonly data: Schema.Struct<{
|
|
2878
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2879
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2880
|
-
};
|
|
2881
2630
|
readonly name: Schema.String;
|
|
2882
2631
|
readonly text: Schema.String;
|
|
2883
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2884
2632
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2885
2633
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2886
2634
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2887
2635
|
};
|
|
2888
2636
|
}>;
|
|
2889
2637
|
}> & {
|
|
2890
|
-
type: "
|
|
2638
|
+
type: "skill.activated";
|
|
2891
2639
|
durability: "durable";
|
|
2892
2640
|
durable: {
|
|
2893
2641
|
readonly version: number;
|
|
2894
2642
|
readonly aggregate: string;
|
|
2895
2643
|
};
|
|
2896
2644
|
data: Schema.Struct<{
|
|
2897
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2898
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2899
|
-
};
|
|
2900
2645
|
readonly name: Schema.String;
|
|
2901
2646
|
readonly text: Schema.String;
|
|
2902
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2903
2647
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2904
2648
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2905
2649
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2909,8 +2653,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2909
2653
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2910
2654
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2911
2655
|
};
|
|
2656
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2912
2657
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2913
|
-
readonly type: Schema.Literal<"
|
|
2658
|
+
readonly type: Schema.Literal<"shell.started">;
|
|
2914
2659
|
readonly durable: Schema.Struct<{
|
|
2915
2660
|
readonly aggregateID: Schema.String;
|
|
2916
2661
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2936,31 +2681,23 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2936
2681
|
}>, never, never>;
|
|
2937
2682
|
}>>, never, never>;
|
|
2938
2683
|
readonly data: Schema.Struct<{
|
|
2939
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2940
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2941
|
-
};
|
|
2942
2684
|
readonly callID: Schema.String;
|
|
2943
2685
|
readonly command: Schema.String;
|
|
2944
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2945
2686
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2946
2687
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2947
2688
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2948
2689
|
};
|
|
2949
2690
|
}>;
|
|
2950
2691
|
}> & {
|
|
2951
|
-
type: "
|
|
2692
|
+
type: "shell.started";
|
|
2952
2693
|
durability: "durable";
|
|
2953
2694
|
durable: {
|
|
2954
2695
|
readonly version: number;
|
|
2955
2696
|
readonly aggregate: string;
|
|
2956
2697
|
};
|
|
2957
2698
|
data: Schema.Struct<{
|
|
2958
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2959
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2960
|
-
};
|
|
2961
2699
|
readonly callID: Schema.String;
|
|
2962
2700
|
readonly command: Schema.String;
|
|
2963
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2964
2701
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2965
2702
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2966
2703
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2970,8 +2707,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2970
2707
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
2971
2708
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2972
2709
|
};
|
|
2710
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2973
2711
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2974
|
-
readonly type: Schema.Literal<"
|
|
2712
|
+
readonly type: Schema.Literal<"shell.ended">;
|
|
2975
2713
|
readonly durable: Schema.Struct<{
|
|
2976
2714
|
readonly aggregateID: Schema.String;
|
|
2977
2715
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2999,14 +2737,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2999
2737
|
readonly data: Schema.Struct<{
|
|
3000
2738
|
readonly callID: Schema.String;
|
|
3001
2739
|
readonly output: Schema.String;
|
|
3002
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3003
2740
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3004
2741
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3005
2742
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3006
2743
|
};
|
|
3007
2744
|
}>;
|
|
3008
2745
|
}> & {
|
|
3009
|
-
type: "
|
|
2746
|
+
type: "shell.ended";
|
|
3010
2747
|
durability: "durable";
|
|
3011
2748
|
durable: {
|
|
3012
2749
|
readonly version: number;
|
|
@@ -3015,7 +2752,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3015
2752
|
data: Schema.Struct<{
|
|
3016
2753
|
readonly callID: Schema.String;
|
|
3017
2754
|
readonly output: Schema.String;
|
|
3018
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3019
2755
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3020
2756
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3021
2757
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3025,8 +2761,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3025
2761
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3026
2762
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3027
2763
|
};
|
|
2764
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3028
2765
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3029
|
-
readonly type: Schema.Literal<"
|
|
2766
|
+
readonly type: Schema.Literal<"step.started">;
|
|
3030
2767
|
readonly durable: Schema.Struct<{
|
|
3031
2768
|
readonly aggregateID: Schema.String;
|
|
3032
2769
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3054,6 +2791,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3054
2791
|
readonly data: Schema.Struct<{
|
|
3055
2792
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3056
2793
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2794
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3057
2795
|
};
|
|
3058
2796
|
readonly agent: Schema.String;
|
|
3059
2797
|
readonly model: Schema.Struct<{
|
|
@@ -3074,14 +2812,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3074
2812
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
3075
2813
|
}>;
|
|
3076
2814
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3077
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3078
2815
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3079
2816
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3080
2817
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3081
2818
|
};
|
|
3082
2819
|
}>;
|
|
3083
2820
|
}> & {
|
|
3084
|
-
type: "
|
|
2821
|
+
type: "step.started";
|
|
3085
2822
|
durability: "durable";
|
|
3086
2823
|
durable: {
|
|
3087
2824
|
readonly version: number;
|
|
@@ -3090,6 +2827,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3090
2827
|
data: Schema.Struct<{
|
|
3091
2828
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3092
2829
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2830
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3093
2831
|
};
|
|
3094
2832
|
readonly agent: Schema.String;
|
|
3095
2833
|
readonly model: Schema.Struct<{
|
|
@@ -3110,7 +2848,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3110
2848
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
3111
2849
|
}>;
|
|
3112
2850
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3113
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3114
2851
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3115
2852
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3116
2853
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3120,8 +2857,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3120
2857
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3121
2858
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3122
2859
|
};
|
|
2860
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3123
2861
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3124
|
-
readonly type: Schema.Literal<"
|
|
2862
|
+
readonly type: Schema.Literal<"step.ended">;
|
|
3125
2863
|
readonly durable: Schema.Struct<{
|
|
3126
2864
|
readonly aggregateID: Schema.String;
|
|
3127
2865
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3149,6 +2887,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3149
2887
|
readonly data: Schema.Struct<{
|
|
3150
2888
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3151
2889
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2890
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3152
2891
|
};
|
|
3153
2892
|
readonly finish: Schema.String;
|
|
3154
2893
|
readonly cost: Schema.Finite;
|
|
@@ -3163,14 +2902,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3163
2902
|
}>;
|
|
3164
2903
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3165
2904
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
3166
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3167
2905
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3168
2906
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3169
2907
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3170
2908
|
};
|
|
3171
2909
|
}>;
|
|
3172
2910
|
}> & {
|
|
3173
|
-
type: "
|
|
2911
|
+
type: "step.ended";
|
|
3174
2912
|
durability: "durable";
|
|
3175
2913
|
durable: {
|
|
3176
2914
|
readonly version: number;
|
|
@@ -3179,6 +2917,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3179
2917
|
data: Schema.Struct<{
|
|
3180
2918
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3181
2919
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2920
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3182
2921
|
};
|
|
3183
2922
|
readonly finish: Schema.String;
|
|
3184
2923
|
readonly cost: Schema.Finite;
|
|
@@ -3193,7 +2932,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3193
2932
|
}>;
|
|
3194
2933
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3195
2934
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
3196
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3197
2935
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3198
2936
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3199
2937
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3203,8 +2941,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3203
2941
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3204
2942
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3205
2943
|
};
|
|
2944
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3206
2945
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3207
|
-
readonly type: Schema.Literal<"
|
|
2946
|
+
readonly type: Schema.Literal<"step.failed">;
|
|
3208
2947
|
readonly durable: Schema.Struct<{
|
|
3209
2948
|
readonly aggregateID: Schema.String;
|
|
3210
2949
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3232,19 +2971,19 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3232
2971
|
readonly data: Schema.Struct<{
|
|
3233
2972
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3234
2973
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2974
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3235
2975
|
};
|
|
3236
2976
|
readonly error: Schema.Struct<{
|
|
3237
2977
|
readonly type: Schema.Literal<"unknown">;
|
|
3238
2978
|
readonly message: Schema.String;
|
|
3239
2979
|
}>;
|
|
3240
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3241
2980
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3242
2981
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3243
2982
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3244
2983
|
};
|
|
3245
2984
|
}>;
|
|
3246
2985
|
}> & {
|
|
3247
|
-
type: "
|
|
2986
|
+
type: "step.failed";
|
|
3248
2987
|
durability: "durable";
|
|
3249
2988
|
durable: {
|
|
3250
2989
|
readonly version: number;
|
|
@@ -3253,12 +2992,12 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3253
2992
|
data: Schema.Struct<{
|
|
3254
2993
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3255
2994
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2995
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3256
2996
|
};
|
|
3257
2997
|
readonly error: Schema.Struct<{
|
|
3258
2998
|
readonly type: Schema.Literal<"unknown">;
|
|
3259
2999
|
readonly message: Schema.String;
|
|
3260
3000
|
}>;
|
|
3261
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3262
3001
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3263
3002
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3264
3003
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3268,8 +3007,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3268
3007
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3269
3008
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3270
3009
|
};
|
|
3010
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3271
3011
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3272
|
-
readonly type: Schema.Literal<"
|
|
3012
|
+
readonly type: Schema.Literal<"text.started">;
|
|
3273
3013
|
readonly durable: Schema.Struct<{
|
|
3274
3014
|
readonly aggregateID: Schema.String;
|
|
3275
3015
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3297,16 +3037,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3297
3037
|
readonly data: Schema.Struct<{
|
|
3298
3038
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3299
3039
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3040
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3300
3041
|
};
|
|
3301
3042
|
readonly textID: Schema.String;
|
|
3302
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3303
3043
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3304
3044
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3305
3045
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3306
3046
|
};
|
|
3307
3047
|
}>;
|
|
3308
3048
|
}> & {
|
|
3309
|
-
type: "
|
|
3049
|
+
type: "text.started";
|
|
3310
3050
|
durability: "durable";
|
|
3311
3051
|
durable: {
|
|
3312
3052
|
readonly version: number;
|
|
@@ -3315,9 +3055,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3315
3055
|
data: Schema.Struct<{
|
|
3316
3056
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3317
3057
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3058
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3318
3059
|
};
|
|
3319
3060
|
readonly textID: Schema.String;
|
|
3320
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3321
3061
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3322
3062
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3323
3063
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3327,8 +3067,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3327
3067
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3328
3068
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3329
3069
|
};
|
|
3070
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3330
3071
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3331
|
-
readonly type: Schema.Literal<"
|
|
3072
|
+
readonly type: Schema.Literal<"text.ended">;
|
|
3332
3073
|
readonly durable: Schema.Struct<{
|
|
3333
3074
|
readonly aggregateID: Schema.String;
|
|
3334
3075
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3356,17 +3097,17 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3356
3097
|
readonly data: Schema.Struct<{
|
|
3357
3098
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3358
3099
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3100
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3359
3101
|
};
|
|
3360
3102
|
readonly textID: Schema.String;
|
|
3361
3103
|
readonly text: Schema.String;
|
|
3362
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3363
3104
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3364
3105
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3365
3106
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3366
3107
|
};
|
|
3367
3108
|
}>;
|
|
3368
3109
|
}> & {
|
|
3369
|
-
type: "
|
|
3110
|
+
type: "text.ended";
|
|
3370
3111
|
durability: "durable";
|
|
3371
3112
|
durable: {
|
|
3372
3113
|
readonly version: number;
|
|
@@ -3375,10 +3116,10 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3375
3116
|
data: Schema.Struct<{
|
|
3376
3117
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3377
3118
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3119
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3378
3120
|
};
|
|
3379
3121
|
readonly textID: Schema.String;
|
|
3380
3122
|
readonly text: Schema.String;
|
|
3381
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3382
3123
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3383
3124
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3384
3125
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3388,8 +3129,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3388
3129
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3389
3130
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3390
3131
|
};
|
|
3132
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3391
3133
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3392
|
-
readonly type: Schema.Literal<"
|
|
3134
|
+
readonly type: Schema.Literal<"reasoning.started">;
|
|
3393
3135
|
readonly durable: Schema.Struct<{
|
|
3394
3136
|
readonly aggregateID: Schema.String;
|
|
3395
3137
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3417,17 +3159,17 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3417
3159
|
readonly data: Schema.Struct<{
|
|
3418
3160
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3419
3161
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3162
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3420
3163
|
};
|
|
3421
3164
|
readonly reasoningID: Schema.String;
|
|
3422
3165
|
readonly providerMetadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
3423
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3424
3166
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3425
3167
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3426
3168
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3427
3169
|
};
|
|
3428
3170
|
}>;
|
|
3429
3171
|
}> & {
|
|
3430
|
-
type: "
|
|
3172
|
+
type: "reasoning.started";
|
|
3431
3173
|
durability: "durable";
|
|
3432
3174
|
durable: {
|
|
3433
3175
|
readonly version: number;
|
|
@@ -3436,10 +3178,10 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3436
3178
|
data: Schema.Struct<{
|
|
3437
3179
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3438
3180
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3181
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3439
3182
|
};
|
|
3440
3183
|
readonly reasoningID: Schema.String;
|
|
3441
3184
|
readonly providerMetadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
3442
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3443
3185
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3444
3186
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3445
3187
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3449,8 +3191,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3449
3191
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3450
3192
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3451
3193
|
};
|
|
3194
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3452
3195
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3453
|
-
readonly type: Schema.Literal<"
|
|
3196
|
+
readonly type: Schema.Literal<"reasoning.ended">;
|
|
3454
3197
|
readonly durable: Schema.Struct<{
|
|
3455
3198
|
readonly aggregateID: Schema.String;
|
|
3456
3199
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3478,18 +3221,18 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3478
3221
|
readonly data: Schema.Struct<{
|
|
3479
3222
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3480
3223
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3224
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3481
3225
|
};
|
|
3482
3226
|
readonly reasoningID: Schema.String;
|
|
3483
3227
|
readonly text: Schema.String;
|
|
3484
3228
|
readonly providerMetadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
3485
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3486
3229
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3487
3230
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3488
3231
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3489
3232
|
};
|
|
3490
3233
|
}>;
|
|
3491
3234
|
}> & {
|
|
3492
|
-
type: "
|
|
3235
|
+
type: "reasoning.ended";
|
|
3493
3236
|
durability: "durable";
|
|
3494
3237
|
durable: {
|
|
3495
3238
|
readonly version: number;
|
|
@@ -3498,11 +3241,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3498
3241
|
data: Schema.Struct<{
|
|
3499
3242
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3500
3243
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3244
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3501
3245
|
};
|
|
3502
3246
|
readonly reasoningID: Schema.String;
|
|
3503
3247
|
readonly text: Schema.String;
|
|
3504
3248
|
readonly providerMetadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
3505
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3506
3249
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3507
3250
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3508
3251
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3512,8 +3255,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3512
3255
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3513
3256
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3514
3257
|
};
|
|
3258
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3515
3259
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3516
|
-
readonly type: Schema.Literal<"
|
|
3260
|
+
readonly type: Schema.Literal<"tool.input.started">;
|
|
3517
3261
|
readonly durable: Schema.Struct<{
|
|
3518
3262
|
readonly aggregateID: Schema.String;
|
|
3519
3263
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3542,16 +3286,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3542
3286
|
readonly name: Schema.String;
|
|
3543
3287
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3544
3288
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3289
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3545
3290
|
};
|
|
3546
3291
|
readonly callID: Schema.String;
|
|
3547
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3548
3292
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3549
3293
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3550
3294
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3551
3295
|
};
|
|
3552
3296
|
}>;
|
|
3553
3297
|
}> & {
|
|
3554
|
-
type: "
|
|
3298
|
+
type: "tool.input.started";
|
|
3555
3299
|
durability: "durable";
|
|
3556
3300
|
durable: {
|
|
3557
3301
|
readonly version: number;
|
|
@@ -3561,9 +3305,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3561
3305
|
readonly name: Schema.String;
|
|
3562
3306
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3563
3307
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3308
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3564
3309
|
};
|
|
3565
3310
|
readonly callID: Schema.String;
|
|
3566
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3567
3311
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3568
3312
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3569
3313
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3573,8 +3317,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3573
3317
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3574
3318
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3575
3319
|
};
|
|
3320
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3576
3321
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3577
|
-
readonly type: Schema.Literal<"
|
|
3322
|
+
readonly type: Schema.Literal<"tool.input.ended">;
|
|
3578
3323
|
readonly durable: Schema.Struct<{
|
|
3579
3324
|
readonly aggregateID: Schema.String;
|
|
3580
3325
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3603,16 +3348,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3603
3348
|
readonly text: Schema.String;
|
|
3604
3349
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3605
3350
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3351
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3606
3352
|
};
|
|
3607
3353
|
readonly callID: Schema.String;
|
|
3608
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3609
3354
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3610
3355
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3611
3356
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3612
3357
|
};
|
|
3613
3358
|
}>;
|
|
3614
3359
|
}> & {
|
|
3615
|
-
type: "
|
|
3360
|
+
type: "tool.input.ended";
|
|
3616
3361
|
durability: "durable";
|
|
3617
3362
|
durable: {
|
|
3618
3363
|
readonly version: number;
|
|
@@ -3622,9 +3367,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3622
3367
|
readonly text: Schema.String;
|
|
3623
3368
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3624
3369
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3370
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3625
3371
|
};
|
|
3626
3372
|
readonly callID: Schema.String;
|
|
3627
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3628
3373
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3629
3374
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3630
3375
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3634,8 +3379,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3634
3379
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3635
3380
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3636
3381
|
};
|
|
3382
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3637
3383
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3638
|
-
readonly type: Schema.Literal<"
|
|
3384
|
+
readonly type: Schema.Literal<"tool.called">;
|
|
3639
3385
|
readonly durable: Schema.Struct<{
|
|
3640
3386
|
readonly aggregateID: Schema.String;
|
|
3641
3387
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3669,16 +3415,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3669
3415
|
}>;
|
|
3670
3416
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3671
3417
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3418
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3672
3419
|
};
|
|
3673
3420
|
readonly callID: Schema.String;
|
|
3674
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3675
3421
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3676
3422
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3677
3423
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3678
3424
|
};
|
|
3679
3425
|
}>;
|
|
3680
3426
|
}> & {
|
|
3681
|
-
type: "
|
|
3427
|
+
type: "tool.called";
|
|
3682
3428
|
durability: "durable";
|
|
3683
3429
|
durable: {
|
|
3684
3430
|
readonly version: number;
|
|
@@ -3693,9 +3439,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3693
3439
|
}>;
|
|
3694
3440
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3695
3441
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3442
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3696
3443
|
};
|
|
3697
3444
|
readonly callID: Schema.String;
|
|
3698
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3699
3445
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3700
3446
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3701
3447
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3705,8 +3451,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3705
3451
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3706
3452
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3707
3453
|
};
|
|
3454
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3708
3455
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3709
|
-
readonly type: Schema.Literal<"
|
|
3456
|
+
readonly type: Schema.Literal<"tool.progress">;
|
|
3710
3457
|
readonly durable: Schema.Struct<{
|
|
3711
3458
|
readonly aggregateID: Schema.String;
|
|
3712
3459
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3744,16 +3491,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3744
3491
|
}>]>>;
|
|
3745
3492
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3746
3493
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3494
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3747
3495
|
};
|
|
3748
3496
|
readonly callID: Schema.String;
|
|
3749
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3750
3497
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3751
3498
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3752
3499
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3753
3500
|
};
|
|
3754
3501
|
}>;
|
|
3755
3502
|
}> & {
|
|
3756
|
-
type: "
|
|
3503
|
+
type: "tool.progress";
|
|
3757
3504
|
durability: "durable";
|
|
3758
3505
|
durable: {
|
|
3759
3506
|
readonly version: number;
|
|
@@ -3772,9 +3519,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3772
3519
|
}>]>>;
|
|
3773
3520
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3774
3521
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3522
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3775
3523
|
};
|
|
3776
3524
|
readonly callID: Schema.String;
|
|
3777
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3778
3525
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3779
3526
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3780
3527
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3784,8 +3531,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3784
3531
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3785
3532
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3786
3533
|
};
|
|
3534
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3787
3535
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3788
|
-
readonly type: Schema.Literal<"
|
|
3536
|
+
readonly type: Schema.Literal<"tool.success">;
|
|
3789
3537
|
readonly durable: Schema.Struct<{
|
|
3790
3538
|
readonly aggregateID: Schema.String;
|
|
3791
3539
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3829,16 +3577,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3829
3577
|
}>;
|
|
3830
3578
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3831
3579
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3580
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3832
3581
|
};
|
|
3833
3582
|
readonly callID: Schema.String;
|
|
3834
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3835
3583
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3836
3584
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3837
3585
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3838
3586
|
};
|
|
3839
3587
|
}>;
|
|
3840
3588
|
}> & {
|
|
3841
|
-
type: "
|
|
3589
|
+
type: "tool.success";
|
|
3842
3590
|
durability: "durable";
|
|
3843
3591
|
durable: {
|
|
3844
3592
|
readonly version: number;
|
|
@@ -3863,9 +3611,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3863
3611
|
}>;
|
|
3864
3612
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3865
3613
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3614
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3866
3615
|
};
|
|
3867
3616
|
readonly callID: Schema.String;
|
|
3868
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3869
3617
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3870
3618
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3871
3619
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3875,8 +3623,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3875
3623
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3876
3624
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3877
3625
|
};
|
|
3626
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3878
3627
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3879
|
-
readonly type: Schema.Literal<"
|
|
3628
|
+
readonly type: Schema.Literal<"tool.failed">;
|
|
3880
3629
|
readonly durable: Schema.Struct<{
|
|
3881
3630
|
readonly aggregateID: Schema.String;
|
|
3882
3631
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3913,16 +3662,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3913
3662
|
}>;
|
|
3914
3663
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3915
3664
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3665
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3916
3666
|
};
|
|
3917
3667
|
readonly callID: Schema.String;
|
|
3918
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3919
3668
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3920
3669
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3921
3670
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3922
3671
|
};
|
|
3923
3672
|
}>;
|
|
3924
3673
|
}> & {
|
|
3925
|
-
type: "
|
|
3674
|
+
type: "tool.failed";
|
|
3926
3675
|
durability: "durable";
|
|
3927
3676
|
durable: {
|
|
3928
3677
|
readonly version: number;
|
|
@@ -3940,9 +3689,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3940
3689
|
}>;
|
|
3941
3690
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3942
3691
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3692
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3943
3693
|
};
|
|
3944
3694
|
readonly callID: Schema.String;
|
|
3945
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3946
3695
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3947
3696
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3948
3697
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3952,8 +3701,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3952
3701
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3953
3702
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3954
3703
|
};
|
|
3704
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3955
3705
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3956
|
-
readonly type: Schema.Literal<"
|
|
3706
|
+
readonly type: Schema.Literal<"retried">;
|
|
3957
3707
|
readonly durable: Schema.Struct<{
|
|
3958
3708
|
readonly aggregateID: Schema.String;
|
|
3959
3709
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3988,14 +3738,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3988
3738
|
readonly responseBody: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3989
3739
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
3990
3740
|
}>;
|
|
3991
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3992
3741
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3993
3742
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3994
3743
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3995
3744
|
};
|
|
3996
3745
|
}>;
|
|
3997
3746
|
}> & {
|
|
3998
|
-
type: "
|
|
3747
|
+
type: "retried";
|
|
3999
3748
|
durability: "durable";
|
|
4000
3749
|
durable: {
|
|
4001
3750
|
readonly version: number;
|
|
@@ -4011,7 +3760,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4011
3760
|
readonly responseBody: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4012
3761
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
4013
3762
|
}>;
|
|
4014
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4015
3763
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4016
3764
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4017
3765
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4021,8 +3769,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4021
3769
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4022
3770
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4023
3771
|
};
|
|
3772
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4024
3773
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4025
|
-
readonly type: Schema.Literal<"
|
|
3774
|
+
readonly type: Schema.Literal<"compaction.started">;
|
|
4026
3775
|
readonly durable: Schema.Struct<{
|
|
4027
3776
|
readonly aggregateID: Schema.String;
|
|
4028
3777
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4048,29 +3797,21 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4048
3797
|
}>, never, never>;
|
|
4049
3798
|
}>>, never, never>;
|
|
4050
3799
|
readonly data: Schema.Struct<{
|
|
4051
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4052
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4053
|
-
};
|
|
4054
3800
|
readonly reason: Schema.Union<readonly [Schema.Literal<"auto">, Schema.Literal<"manual">]>;
|
|
4055
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4056
3801
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4057
3802
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4058
3803
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4059
3804
|
};
|
|
4060
3805
|
}>;
|
|
4061
3806
|
}> & {
|
|
4062
|
-
type: "
|
|
3807
|
+
type: "compaction.started";
|
|
4063
3808
|
durability: "durable";
|
|
4064
3809
|
durable: {
|
|
4065
3810
|
readonly version: number;
|
|
4066
3811
|
readonly aggregate: string;
|
|
4067
3812
|
};
|
|
4068
3813
|
data: Schema.Struct<{
|
|
4069
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4070
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4071
|
-
};
|
|
4072
3814
|
readonly reason: Schema.Union<readonly [Schema.Literal<"auto">, Schema.Literal<"manual">]>;
|
|
4073
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4074
3815
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4075
3816
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4076
3817
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4080,8 +3821,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4080
3821
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4081
3822
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4082
3823
|
};
|
|
3824
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4083
3825
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4084
|
-
readonly type: Schema.Literal<"
|
|
3826
|
+
readonly type: Schema.Literal<"compaction.ended">;
|
|
4085
3827
|
readonly durable: Schema.Struct<{
|
|
4086
3828
|
readonly aggregateID: Schema.String;
|
|
4087
3829
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4107,33 +3849,25 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4107
3849
|
}>, never, never>;
|
|
4108
3850
|
}>>, never, never>;
|
|
4109
3851
|
readonly data: Schema.Struct<{
|
|
4110
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4111
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4112
|
-
};
|
|
4113
3852
|
readonly reason: Schema.Union<readonly [Schema.Literal<"auto">, Schema.Literal<"manual">]>;
|
|
4114
3853
|
readonly text: Schema.String;
|
|
4115
3854
|
readonly recent: Schema.String;
|
|
4116
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4117
3855
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4118
3856
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4119
3857
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4120
3858
|
};
|
|
4121
3859
|
}>;
|
|
4122
3860
|
}> & {
|
|
4123
|
-
type: "
|
|
3861
|
+
type: "compaction.ended";
|
|
4124
3862
|
durability: "durable";
|
|
4125
3863
|
durable: {
|
|
4126
3864
|
readonly version: number;
|
|
4127
3865
|
readonly aggregate: string;
|
|
4128
3866
|
};
|
|
4129
3867
|
data: Schema.Struct<{
|
|
4130
|
-
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4131
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4132
|
-
};
|
|
4133
3868
|
readonly reason: Schema.Union<readonly [Schema.Literal<"auto">, Schema.Literal<"manual">]>;
|
|
4134
3869
|
readonly text: Schema.String;
|
|
4135
3870
|
readonly recent: Schema.String;
|
|
4136
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4137
3871
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4138
3872
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4139
3873
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4143,8 +3877,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4143
3877
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4144
3878
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4145
3879
|
};
|
|
3880
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4146
3881
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4147
|
-
readonly type: Schema.Literal<"
|
|
3882
|
+
readonly type: Schema.Literal<"revert.staged">;
|
|
4148
3883
|
readonly durable: Schema.Struct<{
|
|
4149
3884
|
readonly aggregateID: Schema.String;
|
|
4150
3885
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4173,6 +3908,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4173
3908
|
readonly revert: Schema.Struct<{
|
|
4174
3909
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4175
3910
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3911
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4176
3912
|
};
|
|
4177
3913
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4178
3914
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -4191,14 +3927,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4191
3927
|
readonly patch: Schema.String;
|
|
4192
3928
|
}>>>, never, never>;
|
|
4193
3929
|
}>;
|
|
4194
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4195
3930
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4196
3931
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4197
3932
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4198
3933
|
};
|
|
4199
3934
|
}>;
|
|
4200
3935
|
}> & {
|
|
4201
|
-
type: "
|
|
3936
|
+
type: "revert.staged";
|
|
4202
3937
|
durability: "durable";
|
|
4203
3938
|
durable: {
|
|
4204
3939
|
readonly version: number;
|
|
@@ -4208,6 +3943,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4208
3943
|
readonly revert: Schema.Struct<{
|
|
4209
3944
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4210
3945
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3946
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4211
3947
|
};
|
|
4212
3948
|
readonly partID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4213
3949
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -4226,7 +3962,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4226
3962
|
readonly patch: Schema.String;
|
|
4227
3963
|
}>>>, never, never>;
|
|
4228
3964
|
}>;
|
|
4229
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4230
3965
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4231
3966
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4232
3967
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4236,8 +3971,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4236
3971
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4237
3972
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4238
3973
|
};
|
|
3974
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4239
3975
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4240
|
-
readonly type: Schema.Literal<"
|
|
3976
|
+
readonly type: Schema.Literal<"revert.cleared">;
|
|
4241
3977
|
readonly durable: Schema.Struct<{
|
|
4242
3978
|
readonly aggregateID: Schema.String;
|
|
4243
3979
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4263,21 +3999,19 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4263
3999
|
}>, never, never>;
|
|
4264
4000
|
}>>, never, never>;
|
|
4265
4001
|
readonly data: Schema.Struct<{
|
|
4266
|
-
timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4267
4002
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4268
4003
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4269
4004
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4270
4005
|
};
|
|
4271
4006
|
}>;
|
|
4272
4007
|
}> & {
|
|
4273
|
-
type: "
|
|
4008
|
+
type: "revert.cleared";
|
|
4274
4009
|
durability: "durable";
|
|
4275
4010
|
durable: {
|
|
4276
4011
|
readonly version: number;
|
|
4277
4012
|
readonly aggregate: string;
|
|
4278
4013
|
};
|
|
4279
4014
|
data: Schema.Struct<{
|
|
4280
|
-
timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4281
4015
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4282
4016
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4283
4017
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4287,8 +4021,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4287
4021
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4288
4022
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4289
4023
|
};
|
|
4024
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4290
4025
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4291
|
-
readonly type: Schema.Literal<"
|
|
4026
|
+
readonly type: Schema.Literal<"revert.committed">;
|
|
4292
4027
|
readonly durable: Schema.Struct<{
|
|
4293
4028
|
readonly aggregateID: Schema.String;
|
|
4294
4029
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4316,15 +4051,15 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4316
4051
|
readonly data: Schema.Struct<{
|
|
4317
4052
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4318
4053
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4054
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4319
4055
|
};
|
|
4320
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4321
4056
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4322
4057
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4323
4058
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4324
4059
|
};
|
|
4325
4060
|
}>;
|
|
4326
4061
|
}> & {
|
|
4327
|
-
type: "
|
|
4062
|
+
type: "revert.committed";
|
|
4328
4063
|
durability: "durable";
|
|
4329
4064
|
durable: {
|
|
4330
4065
|
readonly version: number;
|
|
@@ -4333,8 +4068,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4333
4068
|
data: Schema.Struct<{
|
|
4334
4069
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4335
4070
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4071
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4336
4072
|
};
|
|
4337
|
-
readonly timestamp: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4338
4073
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4339
4074
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4340
4075
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4346,16 +4081,15 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4346
4081
|
readonly seq: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Int, "Event.Seq">>>, Schema.optionalKey<Schema.brand<Schema.Int, "Event.Seq">>, never, never>;
|
|
4347
4082
|
}>]>>, Schema.Never, {
|
|
4348
4083
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4349
|
-
readonly
|
|
4084
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4085
|
+
readonly type: "agent.selected";
|
|
4350
4086
|
readonly durable: {
|
|
4351
4087
|
readonly aggregateID: string;
|
|
4352
4088
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4353
4089
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4354
4090
|
};
|
|
4355
4091
|
readonly data: {
|
|
4356
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4357
4092
|
readonly agent: string;
|
|
4358
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4359
4093
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4360
4094
|
};
|
|
4361
4095
|
readonly metadata?: {
|
|
@@ -4367,20 +4101,19 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4367
4101
|
} | undefined;
|
|
4368
4102
|
} | {
|
|
4369
4103
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4370
|
-
readonly
|
|
4104
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4105
|
+
readonly type: "model.selected";
|
|
4371
4106
|
readonly durable: {
|
|
4372
4107
|
readonly aggregateID: string;
|
|
4373
4108
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4374
4109
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4375
4110
|
};
|
|
4376
4111
|
readonly data: {
|
|
4377
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4378
4112
|
readonly model: {
|
|
4379
4113
|
readonly id: string & import("effect/Brand").Brand<"ModelV2.ID">;
|
|
4380
4114
|
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4381
4115
|
readonly variant?: (string & import("effect/Brand").Brand<"VariantID">) | undefined;
|
|
4382
4116
|
};
|
|
4383
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4384
4117
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4385
4118
|
};
|
|
4386
4119
|
readonly metadata?: {
|
|
@@ -4392,7 +4125,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4392
4125
|
} | undefined;
|
|
4393
4126
|
} | {
|
|
4394
4127
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4395
|
-
readonly
|
|
4128
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4129
|
+
readonly type: "session.moved";
|
|
4396
4130
|
readonly durable: {
|
|
4397
4131
|
readonly aggregateID: string;
|
|
4398
4132
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4403,9 +4137,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4403
4137
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
4404
4138
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
4405
4139
|
};
|
|
4406
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4407
4140
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4408
|
-
readonly
|
|
4141
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
4409
4142
|
};
|
|
4410
4143
|
readonly metadata?: {
|
|
4411
4144
|
readonly [x: string]: unknown;
|
|
@@ -4416,7 +4149,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4416
4149
|
} | undefined;
|
|
4417
4150
|
} | {
|
|
4418
4151
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4419
|
-
readonly
|
|
4152
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4153
|
+
readonly type: "renamed";
|
|
4420
4154
|
readonly durable: {
|
|
4421
4155
|
readonly aggregateID: string;
|
|
4422
4156
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4424,7 +4158,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4424
4158
|
};
|
|
4425
4159
|
readonly data: {
|
|
4426
4160
|
readonly title: string;
|
|
4427
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4428
4161
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4429
4162
|
};
|
|
4430
4163
|
readonly metadata?: {
|
|
@@ -4436,7 +4169,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4436
4169
|
} | undefined;
|
|
4437
4170
|
} | {
|
|
4438
4171
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4439
|
-
readonly
|
|
4172
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4173
|
+
readonly type: "forked";
|
|
4440
4174
|
readonly durable: {
|
|
4441
4175
|
readonly aggregateID: string;
|
|
4442
4176
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4444,9 +4178,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4444
4178
|
};
|
|
4445
4179
|
readonly data: {
|
|
4446
4180
|
readonly parentID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4447
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4448
4181
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4449
|
-
readonly
|
|
4182
|
+
readonly from?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
4450
4183
|
};
|
|
4451
4184
|
readonly metadata?: {
|
|
4452
4185
|
readonly [x: string]: unknown;
|
|
@@ -4457,39 +4190,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4457
4190
|
} | undefined;
|
|
4458
4191
|
} | {
|
|
4459
4192
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4460
|
-
readonly
|
|
4193
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4194
|
+
readonly type: "prompt.promoted";
|
|
4461
4195
|
readonly durable: {
|
|
4462
4196
|
readonly aggregateID: string;
|
|
4463
4197
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4464
4198
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4465
4199
|
};
|
|
4466
4200
|
readonly data: {
|
|
4467
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4468
|
-
readonly prompt: {
|
|
4469
|
-
readonly text: string;
|
|
4470
|
-
readonly files?: readonly {
|
|
4471
|
-
readonly uri: string;
|
|
4472
|
-
readonly mime: string;
|
|
4473
|
-
readonly name?: string | undefined;
|
|
4474
|
-
readonly description?: string | undefined;
|
|
4475
|
-
readonly source?: {
|
|
4476
|
-
readonly start: number;
|
|
4477
|
-
readonly end: number;
|
|
4478
|
-
readonly text: string;
|
|
4479
|
-
} | undefined;
|
|
4480
|
-
}[] | undefined;
|
|
4481
|
-
readonly agents?: readonly {
|
|
4482
|
-
readonly name: string;
|
|
4483
|
-
readonly source?: {
|
|
4484
|
-
readonly start: number;
|
|
4485
|
-
readonly end: number;
|
|
4486
|
-
readonly text: string;
|
|
4487
|
-
} | undefined;
|
|
4488
|
-
}[] | undefined;
|
|
4489
|
-
};
|
|
4490
|
-
readonly delivery: "steer" | "queue";
|
|
4491
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4492
4201
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4202
|
+
readonly inputID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4493
4203
|
};
|
|
4494
4204
|
readonly metadata?: {
|
|
4495
4205
|
readonly [x: string]: unknown;
|
|
@@ -4500,14 +4210,15 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4500
4210
|
} | undefined;
|
|
4501
4211
|
} | {
|
|
4502
4212
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4503
|
-
readonly
|
|
4213
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4214
|
+
readonly type: "prompt.admitted";
|
|
4504
4215
|
readonly durable: {
|
|
4505
4216
|
readonly aggregateID: string;
|
|
4506
4217
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4507
4218
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4508
4219
|
};
|
|
4509
4220
|
readonly data: {
|
|
4510
|
-
readonly
|
|
4221
|
+
readonly inputID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4511
4222
|
readonly prompt: {
|
|
4512
4223
|
readonly text: string;
|
|
4513
4224
|
readonly files?: readonly {
|
|
@@ -4531,7 +4242,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4531
4242
|
}[] | undefined;
|
|
4532
4243
|
};
|
|
4533
4244
|
readonly delivery: "steer" | "queue";
|
|
4534
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4535
4245
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4536
4246
|
};
|
|
4537
4247
|
readonly metadata?: {
|
|
@@ -4543,16 +4253,15 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4543
4253
|
} | undefined;
|
|
4544
4254
|
} | {
|
|
4545
4255
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4546
|
-
readonly
|
|
4256
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4257
|
+
readonly type: "session.context.updated";
|
|
4547
4258
|
readonly durable: {
|
|
4548
4259
|
readonly aggregateID: string;
|
|
4549
4260
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4550
4261
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4551
4262
|
};
|
|
4552
4263
|
readonly data: {
|
|
4553
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4554
4264
|
readonly text: string;
|
|
4555
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4556
4265
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4557
4266
|
};
|
|
4558
4267
|
readonly metadata?: {
|
|
@@ -4564,16 +4273,15 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4564
4273
|
} | undefined;
|
|
4565
4274
|
} | {
|
|
4566
4275
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4567
|
-
readonly
|
|
4276
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4277
|
+
readonly type: "synthetic";
|
|
4568
4278
|
readonly durable: {
|
|
4569
4279
|
readonly aggregateID: string;
|
|
4570
4280
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4571
4281
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4572
4282
|
};
|
|
4573
4283
|
readonly data: {
|
|
4574
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4575
4284
|
readonly text: string;
|
|
4576
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4577
4285
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4578
4286
|
readonly description?: string | undefined;
|
|
4579
4287
|
readonly metadata?: {
|
|
@@ -4589,17 +4297,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4589
4297
|
} | undefined;
|
|
4590
4298
|
} | {
|
|
4591
4299
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4592
|
-
readonly
|
|
4300
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4301
|
+
readonly type: "skill.activated";
|
|
4593
4302
|
readonly durable: {
|
|
4594
4303
|
readonly aggregateID: string;
|
|
4595
4304
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4596
4305
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4597
4306
|
};
|
|
4598
4307
|
readonly data: {
|
|
4599
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4600
4308
|
readonly name: string;
|
|
4601
4309
|
readonly text: string;
|
|
4602
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4603
4310
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4604
4311
|
};
|
|
4605
4312
|
readonly metadata?: {
|
|
@@ -4611,17 +4318,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4611
4318
|
} | undefined;
|
|
4612
4319
|
} | {
|
|
4613
4320
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4614
|
-
readonly
|
|
4321
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4322
|
+
readonly type: "shell.started";
|
|
4615
4323
|
readonly durable: {
|
|
4616
4324
|
readonly aggregateID: string;
|
|
4617
4325
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
4618
4326
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
4619
4327
|
};
|
|
4620
4328
|
readonly data: {
|
|
4621
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4622
4329
|
readonly callID: string;
|
|
4623
4330
|
readonly command: string;
|
|
4624
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4625
4331
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4626
4332
|
};
|
|
4627
4333
|
readonly metadata?: {
|
|
@@ -4633,7 +4339,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4633
4339
|
} | undefined;
|
|
4634
4340
|
} | {
|
|
4635
4341
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4636
|
-
readonly
|
|
4342
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4343
|
+
readonly type: "shell.ended";
|
|
4637
4344
|
readonly durable: {
|
|
4638
4345
|
readonly aggregateID: string;
|
|
4639
4346
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4642,7 +4349,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4642
4349
|
readonly data: {
|
|
4643
4350
|
readonly callID: string;
|
|
4644
4351
|
readonly output: string;
|
|
4645
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4646
4352
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4647
4353
|
};
|
|
4648
4354
|
readonly metadata?: {
|
|
@@ -4654,7 +4360,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4654
4360
|
} | undefined;
|
|
4655
4361
|
} | {
|
|
4656
4362
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4657
|
-
readonly
|
|
4363
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4364
|
+
readonly type: "step.started";
|
|
4658
4365
|
readonly durable: {
|
|
4659
4366
|
readonly aggregateID: string;
|
|
4660
4367
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4668,7 +4375,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4668
4375
|
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4669
4376
|
readonly variant?: (string & import("effect/Brand").Brand<"VariantID">) | undefined;
|
|
4670
4377
|
};
|
|
4671
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4672
4378
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4673
4379
|
readonly snapshot?: string | undefined;
|
|
4674
4380
|
};
|
|
@@ -4681,7 +4387,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4681
4387
|
} | undefined;
|
|
4682
4388
|
} | {
|
|
4683
4389
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4684
|
-
readonly
|
|
4390
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4391
|
+
readonly type: "step.ended";
|
|
4685
4392
|
readonly durable: {
|
|
4686
4393
|
readonly aggregateID: string;
|
|
4687
4394
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4700,7 +4407,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4700
4407
|
readonly write: number;
|
|
4701
4408
|
};
|
|
4702
4409
|
};
|
|
4703
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4704
4410
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4705
4411
|
readonly snapshot?: string | undefined;
|
|
4706
4412
|
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
@@ -4714,7 +4420,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4714
4420
|
} | undefined;
|
|
4715
4421
|
} | {
|
|
4716
4422
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4717
|
-
readonly
|
|
4423
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4424
|
+
readonly type: "step.failed";
|
|
4718
4425
|
readonly durable: {
|
|
4719
4426
|
readonly aggregateID: string;
|
|
4720
4427
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4726,7 +4433,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4726
4433
|
readonly type: "unknown";
|
|
4727
4434
|
readonly message: string;
|
|
4728
4435
|
};
|
|
4729
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4730
4436
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4731
4437
|
};
|
|
4732
4438
|
readonly metadata?: {
|
|
@@ -4738,7 +4444,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4738
4444
|
} | undefined;
|
|
4739
4445
|
} | {
|
|
4740
4446
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4741
|
-
readonly
|
|
4447
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4448
|
+
readonly type: "text.started";
|
|
4742
4449
|
readonly durable: {
|
|
4743
4450
|
readonly aggregateID: string;
|
|
4744
4451
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4747,7 +4454,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4747
4454
|
readonly data: {
|
|
4748
4455
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4749
4456
|
readonly textID: string;
|
|
4750
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4751
4457
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4752
4458
|
};
|
|
4753
4459
|
readonly metadata?: {
|
|
@@ -4759,7 +4465,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4759
4465
|
} | undefined;
|
|
4760
4466
|
} | {
|
|
4761
4467
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4762
|
-
readonly
|
|
4468
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4469
|
+
readonly type: "text.ended";
|
|
4763
4470
|
readonly durable: {
|
|
4764
4471
|
readonly aggregateID: string;
|
|
4765
4472
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4769,7 +4476,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4769
4476
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4770
4477
|
readonly textID: string;
|
|
4771
4478
|
readonly text: string;
|
|
4772
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4773
4479
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4774
4480
|
};
|
|
4775
4481
|
readonly metadata?: {
|
|
@@ -4781,7 +4487,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4781
4487
|
} | undefined;
|
|
4782
4488
|
} | {
|
|
4783
4489
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4784
|
-
readonly
|
|
4490
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4491
|
+
readonly type: "reasoning.started";
|
|
4785
4492
|
readonly durable: {
|
|
4786
4493
|
readonly aggregateID: string;
|
|
4787
4494
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4790,7 +4497,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4790
4497
|
readonly data: {
|
|
4791
4498
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4792
4499
|
readonly reasoningID: string;
|
|
4793
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4794
4500
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4795
4501
|
readonly providerMetadata?: {
|
|
4796
4502
|
readonly [x: string]: {
|
|
@@ -4807,7 +4513,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4807
4513
|
} | undefined;
|
|
4808
4514
|
} | {
|
|
4809
4515
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4810
|
-
readonly
|
|
4516
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4517
|
+
readonly type: "reasoning.ended";
|
|
4811
4518
|
readonly durable: {
|
|
4812
4519
|
readonly aggregateID: string;
|
|
4813
4520
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4817,7 +4524,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4817
4524
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4818
4525
|
readonly reasoningID: string;
|
|
4819
4526
|
readonly text: string;
|
|
4820
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4821
4527
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4822
4528
|
readonly providerMetadata?: {
|
|
4823
4529
|
readonly [x: string]: {
|
|
@@ -4834,7 +4540,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4834
4540
|
} | undefined;
|
|
4835
4541
|
} | {
|
|
4836
4542
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4837
|
-
readonly
|
|
4543
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4544
|
+
readonly type: "tool.input.started";
|
|
4838
4545
|
readonly durable: {
|
|
4839
4546
|
readonly aggregateID: string;
|
|
4840
4547
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4844,7 +4551,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4844
4551
|
readonly name: string;
|
|
4845
4552
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4846
4553
|
readonly callID: string;
|
|
4847
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4848
4554
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4849
4555
|
};
|
|
4850
4556
|
readonly metadata?: {
|
|
@@ -4856,7 +4562,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4856
4562
|
} | undefined;
|
|
4857
4563
|
} | {
|
|
4858
4564
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4859
|
-
readonly
|
|
4565
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4566
|
+
readonly type: "tool.input.ended";
|
|
4860
4567
|
readonly durable: {
|
|
4861
4568
|
readonly aggregateID: string;
|
|
4862
4569
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4866,7 +4573,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4866
4573
|
readonly text: string;
|
|
4867
4574
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4868
4575
|
readonly callID: string;
|
|
4869
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4870
4576
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4871
4577
|
};
|
|
4872
4578
|
readonly metadata?: {
|
|
@@ -4878,7 +4584,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4878
4584
|
} | undefined;
|
|
4879
4585
|
} | {
|
|
4880
4586
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4881
|
-
readonly
|
|
4587
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4588
|
+
readonly type: "tool.called";
|
|
4882
4589
|
readonly durable: {
|
|
4883
4590
|
readonly aggregateID: string;
|
|
4884
4591
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4899,7 +4606,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4899
4606
|
};
|
|
4900
4607
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4901
4608
|
readonly callID: string;
|
|
4902
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4903
4609
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4904
4610
|
};
|
|
4905
4611
|
readonly metadata?: {
|
|
@@ -4911,7 +4617,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4911
4617
|
} | undefined;
|
|
4912
4618
|
} | {
|
|
4913
4619
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4914
|
-
readonly
|
|
4620
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4621
|
+
readonly type: "tool.progress";
|
|
4915
4622
|
readonly durable: {
|
|
4916
4623
|
readonly aggregateID: string;
|
|
4917
4624
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4932,7 +4639,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4932
4639
|
})[];
|
|
4933
4640
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4934
4641
|
readonly callID: string;
|
|
4935
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4936
4642
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4937
4643
|
};
|
|
4938
4644
|
readonly metadata?: {
|
|
@@ -4944,7 +4650,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4944
4650
|
} | undefined;
|
|
4945
4651
|
} | {
|
|
4946
4652
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4947
|
-
readonly
|
|
4653
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4654
|
+
readonly type: "tool.success";
|
|
4948
4655
|
readonly durable: {
|
|
4949
4656
|
readonly aggregateID: string;
|
|
4950
4657
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -4973,7 +4680,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4973
4680
|
};
|
|
4974
4681
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4975
4682
|
readonly callID: string;
|
|
4976
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
4977
4683
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
4978
4684
|
readonly outputPaths?: readonly string[] | undefined;
|
|
4979
4685
|
readonly result?: unknown;
|
|
@@ -4987,7 +4693,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4987
4693
|
} | undefined;
|
|
4988
4694
|
} | {
|
|
4989
4695
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
4990
|
-
readonly
|
|
4696
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4697
|
+
readonly type: "tool.failed";
|
|
4991
4698
|
readonly durable: {
|
|
4992
4699
|
readonly aggregateID: string;
|
|
4993
4700
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -5008,7 +4715,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5008
4715
|
};
|
|
5009
4716
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5010
4717
|
readonly callID: string;
|
|
5011
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
5012
4718
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
5013
4719
|
readonly result?: unknown;
|
|
5014
4720
|
};
|
|
@@ -5021,7 +4727,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5021
4727
|
} | undefined;
|
|
5022
4728
|
} | {
|
|
5023
4729
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
5024
|
-
readonly
|
|
4730
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4731
|
+
readonly type: "retried";
|
|
5025
4732
|
readonly durable: {
|
|
5026
4733
|
readonly aggregateID: string;
|
|
5027
4734
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -5041,7 +4748,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5041
4748
|
readonly [x: string]: string;
|
|
5042
4749
|
} | undefined;
|
|
5043
4750
|
};
|
|
5044
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
5045
4751
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
5046
4752
|
};
|
|
5047
4753
|
readonly metadata?: {
|
|
@@ -5053,16 +4759,15 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5053
4759
|
} | undefined;
|
|
5054
4760
|
} | {
|
|
5055
4761
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
5056
|
-
readonly
|
|
4762
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4763
|
+
readonly type: "compaction.started";
|
|
5057
4764
|
readonly durable: {
|
|
5058
4765
|
readonly aggregateID: string;
|
|
5059
4766
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
5060
4767
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
5061
4768
|
};
|
|
5062
4769
|
readonly data: {
|
|
5063
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5064
4770
|
readonly reason: "auto" | "manual";
|
|
5065
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
5066
4771
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
5067
4772
|
};
|
|
5068
4773
|
readonly metadata?: {
|
|
@@ -5074,18 +4779,17 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5074
4779
|
} | undefined;
|
|
5075
4780
|
} | {
|
|
5076
4781
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
5077
|
-
readonly
|
|
4782
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4783
|
+
readonly type: "compaction.ended";
|
|
5078
4784
|
readonly durable: {
|
|
5079
4785
|
readonly aggregateID: string;
|
|
5080
4786
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
5081
4787
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
5082
4788
|
};
|
|
5083
4789
|
readonly data: {
|
|
5084
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5085
4790
|
readonly reason: "auto" | "manual";
|
|
5086
4791
|
readonly text: string;
|
|
5087
4792
|
readonly recent: string;
|
|
5088
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
5089
4793
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
5090
4794
|
};
|
|
5091
4795
|
readonly metadata?: {
|
|
@@ -5097,7 +4801,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5097
4801
|
} | undefined;
|
|
5098
4802
|
} | {
|
|
5099
4803
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
5100
|
-
readonly
|
|
4804
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4805
|
+
readonly type: "revert.staged";
|
|
5101
4806
|
readonly durable: {
|
|
5102
4807
|
readonly aggregateID: string;
|
|
5103
4808
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -5117,7 +4822,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5117
4822
|
readonly patch: string;
|
|
5118
4823
|
}[] | undefined;
|
|
5119
4824
|
};
|
|
5120
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
5121
4825
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
5122
4826
|
};
|
|
5123
4827
|
readonly metadata?: {
|
|
@@ -5129,14 +4833,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5129
4833
|
} | undefined;
|
|
5130
4834
|
} | {
|
|
5131
4835
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
5132
|
-
readonly
|
|
4836
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4837
|
+
readonly type: "revert.cleared";
|
|
5133
4838
|
readonly durable: {
|
|
5134
4839
|
readonly aggregateID: string;
|
|
5135
4840
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
5136
4841
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
5137
4842
|
};
|
|
5138
4843
|
readonly data: {
|
|
5139
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
5140
4844
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
5141
4845
|
};
|
|
5142
4846
|
readonly metadata?: {
|
|
@@ -5148,7 +4852,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5148
4852
|
} | undefined;
|
|
5149
4853
|
} | {
|
|
5150
4854
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
5151
|
-
readonly
|
|
4855
|
+
readonly created: import("effect/DateTime").Utc;
|
|
4856
|
+
readonly type: "revert.committed";
|
|
5152
4857
|
readonly durable: {
|
|
5153
4858
|
readonly aggregateID: string;
|
|
5154
4859
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -5156,7 +4861,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5156
4861
|
};
|
|
5157
4862
|
readonly data: {
|
|
5158
4863
|
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5159
|
-
readonly timestamp: import("effect/DateTime").Utc;
|
|
5160
4864
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
5161
4865
|
};
|
|
5162
4866
|
readonly metadata?: {
|
|
@@ -5187,6 +4891,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5187
4891
|
};
|
|
5188
4892
|
messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5189
4893
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4894
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5190
4895
|
};
|
|
5191
4896
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
5192
4897
|
readonly data: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -5194,6 +4899,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5194
4899
|
readonly agent: Schema.String;
|
|
5195
4900
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5196
4901
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4902
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5197
4903
|
};
|
|
5198
4904
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5199
4905
|
readonly time: Schema.Struct<{
|
|
@@ -5220,6 +4926,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5220
4926
|
}>;
|
|
5221
4927
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5222
4928
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4929
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5223
4930
|
};
|
|
5224
4931
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5225
4932
|
readonly time: Schema.Struct<{
|
|
@@ -5306,6 +5013,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5306
5013
|
readonly type: Schema.Literal<"user">;
|
|
5307
5014
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5308
5015
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5016
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5309
5017
|
};
|
|
5310
5018
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5311
5019
|
readonly time: Schema.Struct<{
|
|
@@ -5321,6 +5029,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5321
5029
|
readonly type: Schema.Literal<"synthetic">;
|
|
5322
5030
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5323
5031
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5032
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5324
5033
|
};
|
|
5325
5034
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5326
5035
|
readonly time: Schema.Struct<{
|
|
@@ -5331,6 +5040,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5331
5040
|
readonly text: Schema.String;
|
|
5332
5041
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5333
5042
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5043
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5334
5044
|
};
|
|
5335
5045
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5336
5046
|
readonly time: Schema.Struct<{
|
|
@@ -5342,6 +5052,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5342
5052
|
readonly text: Schema.String;
|
|
5343
5053
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5344
5054
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5055
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5345
5056
|
};
|
|
5346
5057
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5347
5058
|
readonly time: Schema.Struct<{
|
|
@@ -5358,6 +5069,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5358
5069
|
}>;
|
|
5359
5070
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5360
5071
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5072
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5361
5073
|
};
|
|
5362
5074
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5363
5075
|
}>, Schema.Struct<{
|
|
@@ -5560,11 +5272,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5560
5272
|
}>;
|
|
5561
5273
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5562
5274
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5275
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5563
5276
|
};
|
|
5564
5277
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5565
5278
|
}>, Schema.Struct<{
|
|
5566
5279
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5567
5280
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5281
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5568
5282
|
};
|
|
5569
5283
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5570
5284
|
readonly time: Schema.Struct<{
|