@opencode-ai/schema 0.0.0-next-14829 → 0.0.0-next-14834
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/durable-event-manifest.d.ts +142 -66
- package/dist/event-manifest.d.ts +304 -152
- package/dist/session-event.d.ts +740 -360
- package/dist/session-event.js +38 -38
- package/dist/session-message.d.ts +58 -6
- package/dist/session-message.js +3 -3
- package/package.json +1 -1
package/dist/session-event.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const AgentSelected: Schema.Struct<{
|
|
|
22
22
|
};
|
|
23
23
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
24
24
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
25
|
-
readonly type: Schema.Literal<"agent.selected">;
|
|
25
|
+
readonly type: Schema.Literal<"session.agent.selected">;
|
|
26
26
|
readonly durable: Schema.Struct<{
|
|
27
27
|
readonly aggregateID: Schema.String;
|
|
28
28
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -55,7 +55,7 @@ export declare const AgentSelected: Schema.Struct<{
|
|
|
55
55
|
};
|
|
56
56
|
}>;
|
|
57
57
|
}> & {
|
|
58
|
-
type: "agent.selected";
|
|
58
|
+
type: "session.agent.selected";
|
|
59
59
|
durability: "durable";
|
|
60
60
|
durable: {
|
|
61
61
|
readonly version: number;
|
|
@@ -76,7 +76,7 @@ export declare const ModelSelected: Schema.Struct<{
|
|
|
76
76
|
};
|
|
77
77
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
78
78
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
79
|
-
readonly type: Schema.Literal<"model.selected">;
|
|
79
|
+
readonly type: Schema.Literal<"session.model.selected">;
|
|
80
80
|
readonly durable: Schema.Struct<{
|
|
81
81
|
readonly aggregateID: Schema.String;
|
|
82
82
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -125,7 +125,7 @@ export declare const ModelSelected: Schema.Struct<{
|
|
|
125
125
|
};
|
|
126
126
|
}>;
|
|
127
127
|
}> & {
|
|
128
|
-
type: "model.selected";
|
|
128
|
+
type: "session.model.selected";
|
|
129
129
|
durability: "durable";
|
|
130
130
|
durable: {
|
|
131
131
|
readonly version: number;
|
|
@@ -236,7 +236,7 @@ export declare const Renamed: Schema.Struct<{
|
|
|
236
236
|
};
|
|
237
237
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
238
238
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
239
|
-
readonly type: Schema.Literal<"renamed">;
|
|
239
|
+
readonly type: Schema.Literal<"session.renamed">;
|
|
240
240
|
readonly durable: Schema.Struct<{
|
|
241
241
|
readonly aggregateID: Schema.String;
|
|
242
242
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -269,7 +269,7 @@ export declare const Renamed: Schema.Struct<{
|
|
|
269
269
|
};
|
|
270
270
|
}>;
|
|
271
271
|
}> & {
|
|
272
|
-
type: "renamed";
|
|
272
|
+
type: "session.renamed";
|
|
273
273
|
durability: "durable";
|
|
274
274
|
durable: {
|
|
275
275
|
readonly version: number;
|
|
@@ -290,7 +290,7 @@ export declare const Forked: Schema.Struct<{
|
|
|
290
290
|
};
|
|
291
291
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
292
292
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
293
|
-
readonly type: Schema.Literal<"forked">;
|
|
293
|
+
readonly type: Schema.Literal<"session.forked">;
|
|
294
294
|
readonly durable: Schema.Struct<{
|
|
295
295
|
readonly aggregateID: Schema.String;
|
|
296
296
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -333,7 +333,7 @@ export declare const Forked: Schema.Struct<{
|
|
|
333
333
|
};
|
|
334
334
|
}>;
|
|
335
335
|
}> & {
|
|
336
|
-
type: "forked";
|
|
336
|
+
type: "session.forked";
|
|
337
337
|
durability: "durable";
|
|
338
338
|
durable: {
|
|
339
339
|
readonly version: number;
|
|
@@ -364,7 +364,7 @@ export declare const PromptPromoted: Schema.Struct<{
|
|
|
364
364
|
};
|
|
365
365
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
366
366
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
367
|
-
readonly type: Schema.Literal<"prompt.promoted">;
|
|
367
|
+
readonly type: Schema.Literal<"session.prompt.promoted">;
|
|
368
368
|
readonly durable: Schema.Struct<{
|
|
369
369
|
readonly aggregateID: Schema.String;
|
|
370
370
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -400,7 +400,7 @@ export declare const PromptPromoted: Schema.Struct<{
|
|
|
400
400
|
};
|
|
401
401
|
}>;
|
|
402
402
|
}> & {
|
|
403
|
-
type: "prompt.promoted";
|
|
403
|
+
type: "session.prompt.promoted";
|
|
404
404
|
durability: "durable";
|
|
405
405
|
durable: {
|
|
406
406
|
readonly version: number;
|
|
@@ -424,7 +424,7 @@ export declare const PromptAdmitted: Schema.Struct<{
|
|
|
424
424
|
};
|
|
425
425
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
426
426
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
427
|
-
readonly type: Schema.Literal<"prompt.admitted">;
|
|
427
|
+
readonly type: Schema.Literal<"session.prompt.admitted">;
|
|
428
428
|
readonly durable: Schema.Struct<{
|
|
429
429
|
readonly aggregateID: Schema.String;
|
|
430
430
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -585,7 +585,7 @@ export declare const PromptAdmitted: Schema.Struct<{
|
|
|
585
585
|
};
|
|
586
586
|
}>;
|
|
587
587
|
}> & {
|
|
588
|
-
type: "prompt.admitted";
|
|
588
|
+
type: "session.prompt.admitted";
|
|
589
589
|
durability: "durable";
|
|
590
590
|
durable: {
|
|
591
591
|
readonly version: number;
|
|
@@ -734,7 +734,7 @@ export declare const ExecutionSettled: Schema.Struct<{
|
|
|
734
734
|
};
|
|
735
735
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
736
736
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
737
|
-
readonly type: Schema.Literal<"execution.settled">;
|
|
737
|
+
readonly type: Schema.Literal<"session.execution.settled">;
|
|
738
738
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
739
739
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
740
740
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -769,7 +769,7 @@ export declare const ExecutionSettled: Schema.Struct<{
|
|
|
769
769
|
};
|
|
770
770
|
}>;
|
|
771
771
|
}> & {
|
|
772
|
-
type: "execution.settled";
|
|
772
|
+
type: "session.execution.settled";
|
|
773
773
|
durability: "ephemeral";
|
|
774
774
|
durable: undefined;
|
|
775
775
|
data: Schema.Struct<{
|
|
@@ -848,7 +848,7 @@ export declare const Synthetic: Schema.Struct<{
|
|
|
848
848
|
};
|
|
849
849
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
850
850
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
851
|
-
readonly type: Schema.Literal<"synthetic">;
|
|
851
|
+
readonly type: Schema.Literal<"session.synthetic">;
|
|
852
852
|
readonly durable: Schema.Struct<{
|
|
853
853
|
readonly aggregateID: Schema.String;
|
|
854
854
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -883,7 +883,7 @@ export declare const Synthetic: Schema.Struct<{
|
|
|
883
883
|
};
|
|
884
884
|
}>;
|
|
885
885
|
}> & {
|
|
886
|
-
type: "synthetic";
|
|
886
|
+
type: "session.synthetic";
|
|
887
887
|
durability: "durable";
|
|
888
888
|
durable: {
|
|
889
889
|
readonly version: number;
|
|
@@ -907,7 +907,7 @@ export declare namespace Skill {
|
|
|
907
907
|
};
|
|
908
908
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
909
909
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
910
|
-
readonly type: Schema.Literal<"skill.activated">;
|
|
910
|
+
readonly type: Schema.Literal<"session.skill.activated">;
|
|
911
911
|
readonly durable: Schema.Struct<{
|
|
912
912
|
readonly aggregateID: Schema.String;
|
|
913
913
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -941,7 +941,7 @@ export declare namespace Skill {
|
|
|
941
941
|
};
|
|
942
942
|
}>;
|
|
943
943
|
}> & {
|
|
944
|
-
type: "skill.activated";
|
|
944
|
+
type: "session.skill.activated";
|
|
945
945
|
durability: "durable";
|
|
946
946
|
durable: {
|
|
947
947
|
readonly version: number;
|
|
@@ -965,7 +965,7 @@ export declare namespace Shell {
|
|
|
965
965
|
};
|
|
966
966
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
967
967
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
968
|
-
readonly type: Schema.Literal<"shell.started">;
|
|
968
|
+
readonly type: Schema.Literal<"session.shell.started">;
|
|
969
969
|
readonly durable: Schema.Struct<{
|
|
970
970
|
readonly aggregateID: Schema.String;
|
|
971
971
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -991,23 +991,55 @@ export declare namespace Shell {
|
|
|
991
991
|
}>, never, never>;
|
|
992
992
|
}>>, never, never>;
|
|
993
993
|
readonly data: Schema.Struct<{
|
|
994
|
-
readonly
|
|
995
|
-
|
|
994
|
+
readonly shell: Schema.Struct<{
|
|
995
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
996
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
997
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
998
|
+
};
|
|
999
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1000
|
+
readonly command: Schema.String;
|
|
1001
|
+
readonly cwd: Schema.String;
|
|
1002
|
+
readonly shell: Schema.String;
|
|
1003
|
+
readonly file: Schema.String;
|
|
1004
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1005
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1006
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1007
|
+
readonly time: Schema.Struct<{
|
|
1008
|
+
readonly started: Schema.Number;
|
|
1009
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1010
|
+
}>;
|
|
1011
|
+
}>;
|
|
996
1012
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
997
1013
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
998
1014
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
999
1015
|
};
|
|
1000
1016
|
}>;
|
|
1001
1017
|
}> & {
|
|
1002
|
-
type: "shell.started";
|
|
1018
|
+
type: "session.shell.started";
|
|
1003
1019
|
durability: "durable";
|
|
1004
1020
|
durable: {
|
|
1005
1021
|
readonly version: number;
|
|
1006
1022
|
readonly aggregate: string;
|
|
1007
1023
|
};
|
|
1008
1024
|
data: Schema.Struct<{
|
|
1009
|
-
readonly
|
|
1010
|
-
|
|
1025
|
+
readonly shell: Schema.Struct<{
|
|
1026
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
1027
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
1028
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
1029
|
+
};
|
|
1030
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1031
|
+
readonly command: Schema.String;
|
|
1032
|
+
readonly cwd: Schema.String;
|
|
1033
|
+
readonly shell: Schema.String;
|
|
1034
|
+
readonly file: Schema.String;
|
|
1035
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1036
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1037
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1038
|
+
readonly time: Schema.Struct<{
|
|
1039
|
+
readonly started: Schema.Number;
|
|
1040
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1041
|
+
}>;
|
|
1042
|
+
}>;
|
|
1011
1043
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1012
1044
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1013
1045
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1021,7 +1053,7 @@ export declare namespace Shell {
|
|
|
1021
1053
|
};
|
|
1022
1054
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1023
1055
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1024
|
-
readonly type: Schema.Literal<"shell.ended">;
|
|
1056
|
+
readonly type: Schema.Literal<"session.shell.ended">;
|
|
1025
1057
|
readonly durable: Schema.Struct<{
|
|
1026
1058
|
readonly aggregateID: Schema.String;
|
|
1027
1059
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1047,23 +1079,67 @@ export declare namespace Shell {
|
|
|
1047
1079
|
}>, never, never>;
|
|
1048
1080
|
}>>, never, never>;
|
|
1049
1081
|
readonly data: Schema.Struct<{
|
|
1050
|
-
readonly
|
|
1051
|
-
|
|
1082
|
+
readonly shell: Schema.Struct<{
|
|
1083
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
1084
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
1085
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
1086
|
+
};
|
|
1087
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1088
|
+
readonly command: Schema.String;
|
|
1089
|
+
readonly cwd: Schema.String;
|
|
1090
|
+
readonly shell: Schema.String;
|
|
1091
|
+
readonly file: Schema.String;
|
|
1092
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1093
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1094
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1095
|
+
readonly time: Schema.Struct<{
|
|
1096
|
+
readonly started: Schema.Number;
|
|
1097
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1098
|
+
}>;
|
|
1099
|
+
}>;
|
|
1100
|
+
readonly output: Schema.Struct<{
|
|
1101
|
+
readonly output: Schema.String;
|
|
1102
|
+
readonly cursor: Schema.Int;
|
|
1103
|
+
readonly size: Schema.Int;
|
|
1104
|
+
readonly truncated: Schema.Boolean;
|
|
1105
|
+
}>;
|
|
1052
1106
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1053
1107
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1054
1108
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1055
1109
|
};
|
|
1056
1110
|
}>;
|
|
1057
1111
|
}> & {
|
|
1058
|
-
type: "shell.ended";
|
|
1112
|
+
type: "session.shell.ended";
|
|
1059
1113
|
durability: "durable";
|
|
1060
1114
|
durable: {
|
|
1061
1115
|
readonly version: number;
|
|
1062
1116
|
readonly aggregate: string;
|
|
1063
1117
|
};
|
|
1064
1118
|
data: Schema.Struct<{
|
|
1065
|
-
readonly
|
|
1066
|
-
|
|
1119
|
+
readonly shell: Schema.Struct<{
|
|
1120
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
1121
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
1122
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
1123
|
+
};
|
|
1124
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1125
|
+
readonly command: Schema.String;
|
|
1126
|
+
readonly cwd: Schema.String;
|
|
1127
|
+
readonly shell: Schema.String;
|
|
1128
|
+
readonly file: Schema.String;
|
|
1129
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1130
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1131
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1132
|
+
readonly time: Schema.Struct<{
|
|
1133
|
+
readonly started: Schema.Number;
|
|
1134
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1135
|
+
}>;
|
|
1136
|
+
}>;
|
|
1137
|
+
readonly output: Schema.Struct<{
|
|
1138
|
+
readonly output: Schema.String;
|
|
1139
|
+
readonly cursor: Schema.Int;
|
|
1140
|
+
readonly size: Schema.Int;
|
|
1141
|
+
readonly truncated: Schema.Boolean;
|
|
1142
|
+
}>;
|
|
1067
1143
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1068
1144
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1069
1145
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1079,7 +1155,7 @@ export declare namespace Step {
|
|
|
1079
1155
|
};
|
|
1080
1156
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1081
1157
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1082
|
-
readonly type: Schema.Literal<"step.started">;
|
|
1158
|
+
readonly type: Schema.Literal<"session.step.started">;
|
|
1083
1159
|
readonly durable: Schema.Struct<{
|
|
1084
1160
|
readonly aggregateID: Schema.String;
|
|
1085
1161
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1134,7 +1210,7 @@ export declare namespace Step {
|
|
|
1134
1210
|
};
|
|
1135
1211
|
}>;
|
|
1136
1212
|
}> & {
|
|
1137
|
-
type: "step.started";
|
|
1213
|
+
type: "session.step.started";
|
|
1138
1214
|
durability: "durable";
|
|
1139
1215
|
durable: {
|
|
1140
1216
|
readonly version: number;
|
|
@@ -1177,7 +1253,7 @@ export declare namespace Step {
|
|
|
1177
1253
|
};
|
|
1178
1254
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1179
1255
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1180
|
-
readonly type: Schema.Literal<"step.ended">;
|
|
1256
|
+
readonly type: Schema.Literal<"session.step.ended">;
|
|
1181
1257
|
readonly durable: Schema.Struct<{
|
|
1182
1258
|
readonly aggregateID: Schema.String;
|
|
1183
1259
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1226,7 +1302,7 @@ export declare namespace Step {
|
|
|
1226
1302
|
};
|
|
1227
1303
|
}>;
|
|
1228
1304
|
}> & {
|
|
1229
|
-
type: "step.ended";
|
|
1305
|
+
type: "session.step.ended";
|
|
1230
1306
|
durability: "durable";
|
|
1231
1307
|
durable: {
|
|
1232
1308
|
readonly version: number;
|
|
@@ -1263,7 +1339,7 @@ export declare namespace Step {
|
|
|
1263
1339
|
};
|
|
1264
1340
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1265
1341
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1266
|
-
readonly type: Schema.Literal<"step.failed">;
|
|
1342
|
+
readonly type: Schema.Literal<"session.step.failed">;
|
|
1267
1343
|
readonly durable: Schema.Struct<{
|
|
1268
1344
|
readonly aggregateID: Schema.String;
|
|
1269
1345
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1303,7 +1379,7 @@ export declare namespace Step {
|
|
|
1303
1379
|
};
|
|
1304
1380
|
}>;
|
|
1305
1381
|
}> & {
|
|
1306
|
-
type: "step.failed";
|
|
1382
|
+
type: "session.step.failed";
|
|
1307
1383
|
durability: "durable";
|
|
1308
1384
|
durable: {
|
|
1309
1385
|
readonly version: number;
|
|
@@ -1333,7 +1409,7 @@ export declare namespace Text {
|
|
|
1333
1409
|
};
|
|
1334
1410
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1335
1411
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1336
|
-
readonly type: Schema.Literal<"text.started">;
|
|
1412
|
+
readonly type: Schema.Literal<"session.text.started">;
|
|
1337
1413
|
readonly durable: Schema.Struct<{
|
|
1338
1414
|
readonly aggregateID: Schema.String;
|
|
1339
1415
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1370,7 +1446,7 @@ export declare namespace Text {
|
|
|
1370
1446
|
};
|
|
1371
1447
|
}>;
|
|
1372
1448
|
}> & {
|
|
1373
|
-
type: "text.started";
|
|
1449
|
+
type: "session.text.started";
|
|
1374
1450
|
durability: "durable";
|
|
1375
1451
|
durable: {
|
|
1376
1452
|
readonly version: number;
|
|
@@ -1395,7 +1471,7 @@ export declare namespace Text {
|
|
|
1395
1471
|
};
|
|
1396
1472
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1397
1473
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1398
|
-
readonly type: Schema.Literal<"text.delta">;
|
|
1474
|
+
readonly type: Schema.Literal<"session.text.delta">;
|
|
1399
1475
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1400
1476
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1401
1477
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -1428,7 +1504,7 @@ export declare namespace Text {
|
|
|
1428
1504
|
};
|
|
1429
1505
|
}>;
|
|
1430
1506
|
}> & {
|
|
1431
|
-
type: "text.delta";
|
|
1507
|
+
type: "session.text.delta";
|
|
1432
1508
|
durability: "ephemeral";
|
|
1433
1509
|
durable: undefined;
|
|
1434
1510
|
data: Schema.Struct<{
|
|
@@ -1451,7 +1527,7 @@ export declare namespace Text {
|
|
|
1451
1527
|
};
|
|
1452
1528
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1453
1529
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1454
|
-
readonly type: Schema.Literal<"text.ended">;
|
|
1530
|
+
readonly type: Schema.Literal<"session.text.ended">;
|
|
1455
1531
|
readonly durable: Schema.Struct<{
|
|
1456
1532
|
readonly aggregateID: Schema.String;
|
|
1457
1533
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1489,7 +1565,7 @@ export declare namespace Text {
|
|
|
1489
1565
|
};
|
|
1490
1566
|
}>;
|
|
1491
1567
|
}> & {
|
|
1492
|
-
type: "text.ended";
|
|
1568
|
+
type: "session.text.ended";
|
|
1493
1569
|
durability: "durable";
|
|
1494
1570
|
durable: {
|
|
1495
1571
|
readonly version: number;
|
|
@@ -1517,7 +1593,7 @@ export declare namespace Reasoning {
|
|
|
1517
1593
|
};
|
|
1518
1594
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1519
1595
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1520
|
-
readonly type: Schema.Literal<"reasoning.started">;
|
|
1596
|
+
readonly type: Schema.Literal<"session.reasoning.started">;
|
|
1521
1597
|
readonly durable: Schema.Struct<{
|
|
1522
1598
|
readonly aggregateID: Schema.String;
|
|
1523
1599
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1555,7 +1631,7 @@ export declare namespace Reasoning {
|
|
|
1555
1631
|
};
|
|
1556
1632
|
}>;
|
|
1557
1633
|
}> & {
|
|
1558
|
-
type: "reasoning.started";
|
|
1634
|
+
type: "session.reasoning.started";
|
|
1559
1635
|
durability: "durable";
|
|
1560
1636
|
durable: {
|
|
1561
1637
|
readonly version: number;
|
|
@@ -1581,7 +1657,7 @@ export declare namespace Reasoning {
|
|
|
1581
1657
|
};
|
|
1582
1658
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1583
1659
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1584
|
-
readonly type: Schema.Literal<"reasoning.delta">;
|
|
1660
|
+
readonly type: Schema.Literal<"session.reasoning.delta">;
|
|
1585
1661
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1586
1662
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1587
1663
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -1614,7 +1690,7 @@ export declare namespace Reasoning {
|
|
|
1614
1690
|
};
|
|
1615
1691
|
}>;
|
|
1616
1692
|
}> & {
|
|
1617
|
-
type: "reasoning.delta";
|
|
1693
|
+
type: "session.reasoning.delta";
|
|
1618
1694
|
durability: "ephemeral";
|
|
1619
1695
|
durable: undefined;
|
|
1620
1696
|
data: Schema.Struct<{
|
|
@@ -1637,7 +1713,7 @@ export declare namespace Reasoning {
|
|
|
1637
1713
|
};
|
|
1638
1714
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1639
1715
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1640
|
-
readonly type: Schema.Literal<"reasoning.ended">;
|
|
1716
|
+
readonly type: Schema.Literal<"session.reasoning.ended">;
|
|
1641
1717
|
readonly durable: Schema.Struct<{
|
|
1642
1718
|
readonly aggregateID: Schema.String;
|
|
1643
1719
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1676,7 +1752,7 @@ export declare namespace Reasoning {
|
|
|
1676
1752
|
};
|
|
1677
1753
|
}>;
|
|
1678
1754
|
}> & {
|
|
1679
|
-
type: "reasoning.ended";
|
|
1755
|
+
type: "session.reasoning.ended";
|
|
1680
1756
|
durability: "durable";
|
|
1681
1757
|
durable: {
|
|
1682
1758
|
readonly version: number;
|
|
@@ -1706,7 +1782,7 @@ export declare namespace Tool {
|
|
|
1706
1782
|
};
|
|
1707
1783
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1708
1784
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1709
|
-
readonly type: Schema.Literal<"tool.input.started">;
|
|
1785
|
+
readonly type: Schema.Literal<"session.tool.input.started">;
|
|
1710
1786
|
readonly durable: Schema.Struct<{
|
|
1711
1787
|
readonly aggregateID: Schema.String;
|
|
1712
1788
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1744,7 +1820,7 @@ export declare namespace Tool {
|
|
|
1744
1820
|
};
|
|
1745
1821
|
}>;
|
|
1746
1822
|
}> & {
|
|
1747
|
-
type: "tool.input.started";
|
|
1823
|
+
type: "session.tool.input.started";
|
|
1748
1824
|
durability: "durable";
|
|
1749
1825
|
durable: {
|
|
1750
1826
|
readonly version: number;
|
|
@@ -1770,7 +1846,7 @@ export declare namespace Tool {
|
|
|
1770
1846
|
};
|
|
1771
1847
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1772
1848
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1773
|
-
readonly type: Schema.Literal<"tool.input.delta">;
|
|
1849
|
+
readonly type: Schema.Literal<"session.tool.input.delta">;
|
|
1774
1850
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1775
1851
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1776
1852
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -1803,7 +1879,7 @@ export declare namespace Tool {
|
|
|
1803
1879
|
};
|
|
1804
1880
|
}>;
|
|
1805
1881
|
}> & {
|
|
1806
|
-
type: "tool.input.delta";
|
|
1882
|
+
type: "session.tool.input.delta";
|
|
1807
1883
|
durability: "ephemeral";
|
|
1808
1884
|
durable: undefined;
|
|
1809
1885
|
data: Schema.Struct<{
|
|
@@ -1826,7 +1902,7 @@ export declare namespace Tool {
|
|
|
1826
1902
|
};
|
|
1827
1903
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1828
1904
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1829
|
-
readonly type: Schema.Literal<"tool.input.ended">;
|
|
1905
|
+
readonly type: Schema.Literal<"session.tool.input.ended">;
|
|
1830
1906
|
readonly durable: Schema.Struct<{
|
|
1831
1907
|
readonly aggregateID: Schema.String;
|
|
1832
1908
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1864,7 +1940,7 @@ export declare namespace Tool {
|
|
|
1864
1940
|
};
|
|
1865
1941
|
}>;
|
|
1866
1942
|
}> & {
|
|
1867
|
-
type: "tool.input.ended";
|
|
1943
|
+
type: "session.tool.input.ended";
|
|
1868
1944
|
durability: "durable";
|
|
1869
1945
|
durable: {
|
|
1870
1946
|
readonly version: number;
|
|
@@ -1891,7 +1967,7 @@ export declare namespace Tool {
|
|
|
1891
1967
|
};
|
|
1892
1968
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1893
1969
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1894
|
-
readonly type: Schema.Literal<"tool.called">;
|
|
1970
|
+
readonly type: Schema.Literal<"session.tool.called">;
|
|
1895
1971
|
readonly durable: Schema.Struct<{
|
|
1896
1972
|
readonly aggregateID: Schema.String;
|
|
1897
1973
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1934,7 +2010,7 @@ export declare namespace Tool {
|
|
|
1934
2010
|
};
|
|
1935
2011
|
}>;
|
|
1936
2012
|
}> & {
|
|
1937
|
-
type: "tool.called";
|
|
2013
|
+
type: "session.tool.called";
|
|
1938
2014
|
durability: "durable";
|
|
1939
2015
|
durable: {
|
|
1940
2016
|
readonly version: number;
|
|
@@ -1969,7 +2045,7 @@ export declare namespace Tool {
|
|
|
1969
2045
|
};
|
|
1970
2046
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1971
2047
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1972
|
-
readonly type: Schema.Literal<"tool.progress">;
|
|
2048
|
+
readonly type: Schema.Literal<"session.tool.progress">;
|
|
1973
2049
|
readonly durable: Schema.Struct<{
|
|
1974
2050
|
readonly aggregateID: Schema.String;
|
|
1975
2051
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2016,7 +2092,7 @@ export declare namespace Tool {
|
|
|
2016
2092
|
};
|
|
2017
2093
|
}>;
|
|
2018
2094
|
}> & {
|
|
2019
|
-
type: "tool.progress";
|
|
2095
|
+
type: "session.tool.progress";
|
|
2020
2096
|
durability: "durable";
|
|
2021
2097
|
durable: {
|
|
2022
2098
|
readonly version: number;
|
|
@@ -2051,7 +2127,7 @@ export declare namespace Tool {
|
|
|
2051
2127
|
};
|
|
2052
2128
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2053
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>;
|
|
2054
|
-
readonly type: Schema.Literal<"tool.success">;
|
|
2130
|
+
readonly type: Schema.Literal<"session.tool.success">;
|
|
2055
2131
|
readonly durable: Schema.Struct<{
|
|
2056
2132
|
readonly aggregateID: Schema.String;
|
|
2057
2133
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2104,7 +2180,7 @@ export declare namespace Tool {
|
|
|
2104
2180
|
};
|
|
2105
2181
|
}>;
|
|
2106
2182
|
}> & {
|
|
2107
|
-
type: "tool.success";
|
|
2183
|
+
type: "session.tool.success";
|
|
2108
2184
|
durability: "durable";
|
|
2109
2185
|
durable: {
|
|
2110
2186
|
readonly version: number;
|
|
@@ -2145,7 +2221,7 @@ export declare namespace Tool {
|
|
|
2145
2221
|
};
|
|
2146
2222
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2147
2223
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2148
|
-
readonly type: Schema.Literal<"tool.failed">;
|
|
2224
|
+
readonly type: Schema.Literal<"session.tool.failed">;
|
|
2149
2225
|
readonly durable: Schema.Struct<{
|
|
2150
2226
|
readonly aggregateID: Schema.String;
|
|
2151
2227
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2191,7 +2267,7 @@ export declare namespace Tool {
|
|
|
2191
2267
|
};
|
|
2192
2268
|
}>;
|
|
2193
2269
|
}> & {
|
|
2194
|
-
type: "tool.failed";
|
|
2270
|
+
type: "session.tool.failed";
|
|
2195
2271
|
durability: "durable";
|
|
2196
2272
|
durable: {
|
|
2197
2273
|
readonly version: number;
|
|
@@ -2236,7 +2312,7 @@ export declare const Retried: Schema.Struct<{
|
|
|
2236
2312
|
};
|
|
2237
2313
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2238
2314
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2239
|
-
readonly type: Schema.Literal<"retried">;
|
|
2315
|
+
readonly type: Schema.Literal<"session.retried">;
|
|
2240
2316
|
readonly durable: Schema.Struct<{
|
|
2241
2317
|
readonly aggregateID: Schema.String;
|
|
2242
2318
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2277,7 +2353,7 @@ export declare const Retried: Schema.Struct<{
|
|
|
2277
2353
|
};
|
|
2278
2354
|
}>;
|
|
2279
2355
|
}> & {
|
|
2280
|
-
type: "retried";
|
|
2356
|
+
type: "session.retried";
|
|
2281
2357
|
durability: "durable";
|
|
2282
2358
|
durable: {
|
|
2283
2359
|
readonly version: number;
|
|
@@ -2307,7 +2383,7 @@ export declare namespace Compaction {
|
|
|
2307
2383
|
};
|
|
2308
2384
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2309
2385
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2310
|
-
readonly type: Schema.Literal<"compaction.started">;
|
|
2386
|
+
readonly type: Schema.Literal<"session.compaction.started">;
|
|
2311
2387
|
readonly durable: Schema.Struct<{
|
|
2312
2388
|
readonly aggregateID: Schema.String;
|
|
2313
2389
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2340,7 +2416,7 @@ export declare namespace Compaction {
|
|
|
2340
2416
|
};
|
|
2341
2417
|
}>;
|
|
2342
2418
|
}> & {
|
|
2343
|
-
type: "compaction.started";
|
|
2419
|
+
type: "session.compaction.started";
|
|
2344
2420
|
durability: "durable";
|
|
2345
2421
|
durable: {
|
|
2346
2422
|
readonly version: number;
|
|
@@ -2361,7 +2437,7 @@ export declare namespace Compaction {
|
|
|
2361
2437
|
};
|
|
2362
2438
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2363
2439
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2364
|
-
readonly type: Schema.Literal<"compaction.delta">;
|
|
2440
|
+
readonly type: Schema.Literal<"session.compaction.delta">;
|
|
2365
2441
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2366
2442
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2367
2443
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -2389,7 +2465,7 @@ export declare namespace Compaction {
|
|
|
2389
2465
|
};
|
|
2390
2466
|
}>;
|
|
2391
2467
|
}> & {
|
|
2392
|
-
type: "compaction.delta";
|
|
2468
|
+
type: "session.compaction.delta";
|
|
2393
2469
|
durability: "ephemeral";
|
|
2394
2470
|
durable: undefined;
|
|
2395
2471
|
data: Schema.Struct<{
|
|
@@ -2407,7 +2483,7 @@ export declare namespace Compaction {
|
|
|
2407
2483
|
};
|
|
2408
2484
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2409
2485
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2410
|
-
readonly type: Schema.Literal<"compaction.ended">;
|
|
2486
|
+
readonly type: Schema.Literal<"session.compaction.ended">;
|
|
2411
2487
|
readonly durable: Schema.Struct<{
|
|
2412
2488
|
readonly aggregateID: Schema.String;
|
|
2413
2489
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2442,7 +2518,7 @@ export declare namespace Compaction {
|
|
|
2442
2518
|
};
|
|
2443
2519
|
}>;
|
|
2444
2520
|
}> & {
|
|
2445
|
-
type: "compaction.ended";
|
|
2521
|
+
type: "session.compaction.ended";
|
|
2446
2522
|
durability: "durable";
|
|
2447
2523
|
durable: {
|
|
2448
2524
|
readonly version: number;
|
|
@@ -2467,7 +2543,7 @@ export declare namespace RevertEvent {
|
|
|
2467
2543
|
};
|
|
2468
2544
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2469
2545
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2470
|
-
readonly type: Schema.Literal<"revert.staged">;
|
|
2546
|
+
readonly type: Schema.Literal<"session.revert.staged">;
|
|
2471
2547
|
readonly durable: Schema.Struct<{
|
|
2472
2548
|
readonly aggregateID: Schema.String;
|
|
2473
2549
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2521,7 +2597,7 @@ export declare namespace RevertEvent {
|
|
|
2521
2597
|
};
|
|
2522
2598
|
}>;
|
|
2523
2599
|
}> & {
|
|
2524
|
-
type: "revert.staged";
|
|
2600
|
+
type: "session.revert.staged";
|
|
2525
2601
|
durability: "durable";
|
|
2526
2602
|
durable: {
|
|
2527
2603
|
readonly version: number;
|
|
@@ -2562,7 +2638,7 @@ export declare namespace RevertEvent {
|
|
|
2562
2638
|
};
|
|
2563
2639
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2564
2640
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2565
|
-
readonly type: Schema.Literal<"revert.cleared">;
|
|
2641
|
+
readonly type: Schema.Literal<"session.revert.cleared">;
|
|
2566
2642
|
readonly durable: Schema.Struct<{
|
|
2567
2643
|
readonly aggregateID: Schema.String;
|
|
2568
2644
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2594,7 +2670,7 @@ export declare namespace RevertEvent {
|
|
|
2594
2670
|
};
|
|
2595
2671
|
}>;
|
|
2596
2672
|
}> & {
|
|
2597
|
-
type: "revert.cleared";
|
|
2673
|
+
type: "session.revert.cleared";
|
|
2598
2674
|
durability: "durable";
|
|
2599
2675
|
durable: {
|
|
2600
2676
|
readonly version: number;
|
|
@@ -2613,7 +2689,7 @@ export declare namespace RevertEvent {
|
|
|
2613
2689
|
};
|
|
2614
2690
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2615
2691
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2616
|
-
readonly type: Schema.Literal<"revert.committed">;
|
|
2692
|
+
readonly type: Schema.Literal<"session.revert.committed">;
|
|
2617
2693
|
readonly durable: Schema.Struct<{
|
|
2618
2694
|
readonly aggregateID: Schema.String;
|
|
2619
2695
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2649,7 +2725,7 @@ export declare namespace RevertEvent {
|
|
|
2649
2725
|
};
|
|
2650
2726
|
}>;
|
|
2651
2727
|
}> & {
|
|
2652
|
-
type: "revert.committed";
|
|
2728
|
+
type: "session.revert.committed";
|
|
2653
2729
|
durability: "durable";
|
|
2654
2730
|
durable: {
|
|
2655
2731
|
readonly version: number;
|
|
@@ -2673,7 +2749,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2673
2749
|
};
|
|
2674
2750
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2675
2751
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2676
|
-
readonly type: Schema.Literal<"agent.selected">;
|
|
2752
|
+
readonly type: Schema.Literal<"session.agent.selected">;
|
|
2677
2753
|
readonly durable: Schema.Struct<{
|
|
2678
2754
|
readonly aggregateID: Schema.String;
|
|
2679
2755
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2706,7 +2782,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2706
2782
|
};
|
|
2707
2783
|
}>;
|
|
2708
2784
|
}> & {
|
|
2709
|
-
type: "agent.selected";
|
|
2785
|
+
type: "session.agent.selected";
|
|
2710
2786
|
durability: "durable";
|
|
2711
2787
|
durable: {
|
|
2712
2788
|
readonly version: number;
|
|
@@ -2725,7 +2801,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2725
2801
|
};
|
|
2726
2802
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2727
2803
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2728
|
-
readonly type: Schema.Literal<"model.selected">;
|
|
2804
|
+
readonly type: Schema.Literal<"session.model.selected">;
|
|
2729
2805
|
readonly durable: Schema.Struct<{
|
|
2730
2806
|
readonly aggregateID: Schema.String;
|
|
2731
2807
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2774,7 +2850,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2774
2850
|
};
|
|
2775
2851
|
}>;
|
|
2776
2852
|
}> & {
|
|
2777
|
-
type: "model.selected";
|
|
2853
|
+
type: "session.model.selected";
|
|
2778
2854
|
durability: "durable";
|
|
2779
2855
|
durable: {
|
|
2780
2856
|
readonly version: number;
|
|
@@ -2881,7 +2957,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2881
2957
|
};
|
|
2882
2958
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2883
2959
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2884
|
-
readonly type: Schema.Literal<"renamed">;
|
|
2960
|
+
readonly type: Schema.Literal<"session.renamed">;
|
|
2885
2961
|
readonly durable: Schema.Struct<{
|
|
2886
2962
|
readonly aggregateID: Schema.String;
|
|
2887
2963
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2914,7 +2990,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2914
2990
|
};
|
|
2915
2991
|
}>;
|
|
2916
2992
|
}> & {
|
|
2917
|
-
type: "renamed";
|
|
2993
|
+
type: "session.renamed";
|
|
2918
2994
|
durability: "durable";
|
|
2919
2995
|
durable: {
|
|
2920
2996
|
readonly version: number;
|
|
@@ -2933,7 +3009,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2933
3009
|
};
|
|
2934
3010
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2935
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>;
|
|
2936
|
-
readonly type: Schema.Literal<"forked">;
|
|
3012
|
+
readonly type: Schema.Literal<"session.forked">;
|
|
2937
3013
|
readonly durable: Schema.Struct<{
|
|
2938
3014
|
readonly aggregateID: Schema.String;
|
|
2939
3015
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2976,7 +3052,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
2976
3052
|
};
|
|
2977
3053
|
}>;
|
|
2978
3054
|
}> & {
|
|
2979
|
-
type: "forked";
|
|
3055
|
+
type: "session.forked";
|
|
2980
3056
|
durability: "durable";
|
|
2981
3057
|
durable: {
|
|
2982
3058
|
readonly version: number;
|
|
@@ -3005,7 +3081,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3005
3081
|
};
|
|
3006
3082
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3007
3083
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3008
|
-
readonly type: Schema.Literal<"prompt.promoted">;
|
|
3084
|
+
readonly type: Schema.Literal<"session.prompt.promoted">;
|
|
3009
3085
|
readonly durable: Schema.Struct<{
|
|
3010
3086
|
readonly aggregateID: Schema.String;
|
|
3011
3087
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3041,7 +3117,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3041
3117
|
};
|
|
3042
3118
|
}>;
|
|
3043
3119
|
}> & {
|
|
3044
|
-
type: "prompt.promoted";
|
|
3120
|
+
type: "session.prompt.promoted";
|
|
3045
3121
|
durability: "durable";
|
|
3046
3122
|
durable: {
|
|
3047
3123
|
readonly version: number;
|
|
@@ -3063,7 +3139,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3063
3139
|
};
|
|
3064
3140
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3065
3141
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3066
|
-
readonly type: Schema.Literal<"prompt.admitted">;
|
|
3142
|
+
readonly type: Schema.Literal<"session.prompt.admitted">;
|
|
3067
3143
|
readonly durable: Schema.Struct<{
|
|
3068
3144
|
readonly aggregateID: Schema.String;
|
|
3069
3145
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3224,7 +3300,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3224
3300
|
};
|
|
3225
3301
|
}>;
|
|
3226
3302
|
}> & {
|
|
3227
|
-
type: "prompt.admitted";
|
|
3303
|
+
type: "session.prompt.admitted";
|
|
3228
3304
|
durability: "durable";
|
|
3229
3305
|
durable: {
|
|
3230
3306
|
readonly version: number;
|
|
@@ -3371,7 +3447,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3371
3447
|
};
|
|
3372
3448
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3373
3449
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3374
|
-
readonly type: Schema.Literal<"execution.settled">;
|
|
3450
|
+
readonly type: Schema.Literal<"session.execution.settled">;
|
|
3375
3451
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3376
3452
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3377
3453
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -3406,7 +3482,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3406
3482
|
};
|
|
3407
3483
|
}>;
|
|
3408
3484
|
}> & {
|
|
3409
|
-
type: "execution.settled";
|
|
3485
|
+
type: "session.execution.settled";
|
|
3410
3486
|
durability: "ephemeral";
|
|
3411
3487
|
durable: undefined;
|
|
3412
3488
|
data: Schema.Struct<{
|
|
@@ -3481,7 +3557,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3481
3557
|
};
|
|
3482
3558
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3483
3559
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3484
|
-
readonly type: Schema.Literal<"synthetic">;
|
|
3560
|
+
readonly type: Schema.Literal<"session.synthetic">;
|
|
3485
3561
|
readonly durable: Schema.Struct<{
|
|
3486
3562
|
readonly aggregateID: Schema.String;
|
|
3487
3563
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3516,7 +3592,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3516
3592
|
};
|
|
3517
3593
|
}>;
|
|
3518
3594
|
}> & {
|
|
3519
|
-
type: "synthetic";
|
|
3595
|
+
type: "session.synthetic";
|
|
3520
3596
|
durability: "durable";
|
|
3521
3597
|
durable: {
|
|
3522
3598
|
readonly version: number;
|
|
@@ -3537,7 +3613,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3537
3613
|
};
|
|
3538
3614
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3539
3615
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3540
|
-
readonly type: Schema.Literal<"skill.activated">;
|
|
3616
|
+
readonly type: Schema.Literal<"session.skill.activated">;
|
|
3541
3617
|
readonly durable: Schema.Struct<{
|
|
3542
3618
|
readonly aggregateID: Schema.String;
|
|
3543
3619
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3571,7 +3647,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3571
3647
|
};
|
|
3572
3648
|
}>;
|
|
3573
3649
|
}> & {
|
|
3574
|
-
type: "skill.activated";
|
|
3650
|
+
type: "session.skill.activated";
|
|
3575
3651
|
durability: "durable";
|
|
3576
3652
|
durable: {
|
|
3577
3653
|
readonly version: number;
|
|
@@ -3591,7 +3667,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3591
3667
|
};
|
|
3592
3668
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3593
3669
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3594
|
-
readonly type: Schema.Literal<"shell.started">;
|
|
3670
|
+
readonly type: Schema.Literal<"session.shell.started">;
|
|
3595
3671
|
readonly durable: Schema.Struct<{
|
|
3596
3672
|
readonly aggregateID: Schema.String;
|
|
3597
3673
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3617,23 +3693,55 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3617
3693
|
}>, never, never>;
|
|
3618
3694
|
}>>, never, never>;
|
|
3619
3695
|
readonly data: Schema.Struct<{
|
|
3620
|
-
readonly
|
|
3621
|
-
|
|
3696
|
+
readonly shell: Schema.Struct<{
|
|
3697
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
3698
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
3699
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
3700
|
+
};
|
|
3701
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
3702
|
+
readonly command: Schema.String;
|
|
3703
|
+
readonly cwd: Schema.String;
|
|
3704
|
+
readonly shell: Schema.String;
|
|
3705
|
+
readonly file: Schema.String;
|
|
3706
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3707
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3708
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3709
|
+
readonly time: Schema.Struct<{
|
|
3710
|
+
readonly started: Schema.Number;
|
|
3711
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3712
|
+
}>;
|
|
3713
|
+
}>;
|
|
3622
3714
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3623
3715
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3624
3716
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3625
3717
|
};
|
|
3626
3718
|
}>;
|
|
3627
3719
|
}> & {
|
|
3628
|
-
type: "shell.started";
|
|
3720
|
+
type: "session.shell.started";
|
|
3629
3721
|
durability: "durable";
|
|
3630
3722
|
durable: {
|
|
3631
3723
|
readonly version: number;
|
|
3632
3724
|
readonly aggregate: string;
|
|
3633
3725
|
};
|
|
3634
3726
|
data: Schema.Struct<{
|
|
3635
|
-
readonly
|
|
3636
|
-
|
|
3727
|
+
readonly shell: Schema.Struct<{
|
|
3728
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
3729
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
3730
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
3731
|
+
};
|
|
3732
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
3733
|
+
readonly command: Schema.String;
|
|
3734
|
+
readonly cwd: Schema.String;
|
|
3735
|
+
readonly shell: Schema.String;
|
|
3736
|
+
readonly file: Schema.String;
|
|
3737
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3738
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3739
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3740
|
+
readonly time: Schema.Struct<{
|
|
3741
|
+
readonly started: Schema.Number;
|
|
3742
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3743
|
+
}>;
|
|
3744
|
+
}>;
|
|
3637
3745
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3638
3746
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3639
3747
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3645,7 +3753,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3645
3753
|
};
|
|
3646
3754
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3647
3755
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3648
|
-
readonly type: Schema.Literal<"shell.ended">;
|
|
3756
|
+
readonly type: Schema.Literal<"session.shell.ended">;
|
|
3649
3757
|
readonly durable: Schema.Struct<{
|
|
3650
3758
|
readonly aggregateID: Schema.String;
|
|
3651
3759
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3671,23 +3779,67 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3671
3779
|
}>, never, never>;
|
|
3672
3780
|
}>>, never, never>;
|
|
3673
3781
|
readonly data: Schema.Struct<{
|
|
3674
|
-
readonly
|
|
3675
|
-
|
|
3782
|
+
readonly shell: Schema.Struct<{
|
|
3783
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
3784
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
3785
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
3786
|
+
};
|
|
3787
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
3788
|
+
readonly command: Schema.String;
|
|
3789
|
+
readonly cwd: Schema.String;
|
|
3790
|
+
readonly shell: Schema.String;
|
|
3791
|
+
readonly file: Schema.String;
|
|
3792
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3793
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3794
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3795
|
+
readonly time: Schema.Struct<{
|
|
3796
|
+
readonly started: Schema.Number;
|
|
3797
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3798
|
+
}>;
|
|
3799
|
+
}>;
|
|
3800
|
+
readonly output: Schema.Struct<{
|
|
3801
|
+
readonly output: Schema.String;
|
|
3802
|
+
readonly cursor: Schema.Int;
|
|
3803
|
+
readonly size: Schema.Int;
|
|
3804
|
+
readonly truncated: Schema.Boolean;
|
|
3805
|
+
}>;
|
|
3676
3806
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3677
3807
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3678
3808
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3679
3809
|
};
|
|
3680
3810
|
}>;
|
|
3681
3811
|
}> & {
|
|
3682
|
-
type: "shell.ended";
|
|
3812
|
+
type: "session.shell.ended";
|
|
3683
3813
|
durability: "durable";
|
|
3684
3814
|
durable: {
|
|
3685
3815
|
readonly version: number;
|
|
3686
3816
|
readonly aggregate: string;
|
|
3687
3817
|
};
|
|
3688
3818
|
data: Schema.Struct<{
|
|
3689
|
-
readonly
|
|
3690
|
-
|
|
3819
|
+
readonly shell: Schema.Struct<{
|
|
3820
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
3821
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
3822
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
3823
|
+
};
|
|
3824
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
3825
|
+
readonly command: Schema.String;
|
|
3826
|
+
readonly cwd: Schema.String;
|
|
3827
|
+
readonly shell: Schema.String;
|
|
3828
|
+
readonly file: Schema.String;
|
|
3829
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3830
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3831
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3832
|
+
readonly time: Schema.Struct<{
|
|
3833
|
+
readonly started: Schema.Number;
|
|
3834
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
3835
|
+
}>;
|
|
3836
|
+
}>;
|
|
3837
|
+
readonly output: Schema.Struct<{
|
|
3838
|
+
readonly output: Schema.String;
|
|
3839
|
+
readonly cursor: Schema.Int;
|
|
3840
|
+
readonly size: Schema.Int;
|
|
3841
|
+
readonly truncated: Schema.Boolean;
|
|
3842
|
+
}>;
|
|
3691
3843
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3692
3844
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3693
3845
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3699,7 +3851,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3699
3851
|
};
|
|
3700
3852
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3701
3853
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3702
|
-
readonly type: Schema.Literal<"step.started">;
|
|
3854
|
+
readonly type: Schema.Literal<"session.step.started">;
|
|
3703
3855
|
readonly durable: Schema.Struct<{
|
|
3704
3856
|
readonly aggregateID: Schema.String;
|
|
3705
3857
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3754,7 +3906,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3754
3906
|
};
|
|
3755
3907
|
}>;
|
|
3756
3908
|
}> & {
|
|
3757
|
-
type: "step.started";
|
|
3909
|
+
type: "session.step.started";
|
|
3758
3910
|
durability: "durable";
|
|
3759
3911
|
durable: {
|
|
3760
3912
|
readonly version: number;
|
|
@@ -3795,7 +3947,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3795
3947
|
};
|
|
3796
3948
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3797
3949
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3798
|
-
readonly type: Schema.Literal<"step.ended">;
|
|
3950
|
+
readonly type: Schema.Literal<"session.step.ended">;
|
|
3799
3951
|
readonly durable: Schema.Struct<{
|
|
3800
3952
|
readonly aggregateID: Schema.String;
|
|
3801
3953
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3844,7 +3996,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3844
3996
|
};
|
|
3845
3997
|
}>;
|
|
3846
3998
|
}> & {
|
|
3847
|
-
type: "step.ended";
|
|
3999
|
+
type: "session.step.ended";
|
|
3848
4000
|
durability: "durable";
|
|
3849
4001
|
durable: {
|
|
3850
4002
|
readonly version: number;
|
|
@@ -3879,7 +4031,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3879
4031
|
};
|
|
3880
4032
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3881
4033
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3882
|
-
readonly type: Schema.Literal<"step.failed">;
|
|
4034
|
+
readonly type: Schema.Literal<"session.step.failed">;
|
|
3883
4035
|
readonly durable: Schema.Struct<{
|
|
3884
4036
|
readonly aggregateID: Schema.String;
|
|
3885
4037
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3919,7 +4071,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3919
4071
|
};
|
|
3920
4072
|
}>;
|
|
3921
4073
|
}> & {
|
|
3922
|
-
type: "step.failed";
|
|
4074
|
+
type: "session.step.failed";
|
|
3923
4075
|
durability: "durable";
|
|
3924
4076
|
durable: {
|
|
3925
4077
|
readonly version: number;
|
|
@@ -3945,7 +4097,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3945
4097
|
};
|
|
3946
4098
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3947
4099
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3948
|
-
readonly type: Schema.Literal<"text.started">;
|
|
4100
|
+
readonly type: Schema.Literal<"session.text.started">;
|
|
3949
4101
|
readonly durable: Schema.Struct<{
|
|
3950
4102
|
readonly aggregateID: Schema.String;
|
|
3951
4103
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3982,7 +4134,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3982
4134
|
};
|
|
3983
4135
|
}>;
|
|
3984
4136
|
}> & {
|
|
3985
|
-
type: "text.started";
|
|
4137
|
+
type: "session.text.started";
|
|
3986
4138
|
durability: "durable";
|
|
3987
4139
|
durable: {
|
|
3988
4140
|
readonly version: number;
|
|
@@ -4005,7 +4157,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4005
4157
|
};
|
|
4006
4158
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4007
4159
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4008
|
-
readonly type: Schema.Literal<"text.delta">;
|
|
4160
|
+
readonly type: Schema.Literal<"session.text.delta">;
|
|
4009
4161
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4010
4162
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4011
4163
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -4038,7 +4190,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4038
4190
|
};
|
|
4039
4191
|
}>;
|
|
4040
4192
|
}> & {
|
|
4041
|
-
type: "text.delta";
|
|
4193
|
+
type: "session.text.delta";
|
|
4042
4194
|
durability: "ephemeral";
|
|
4043
4195
|
durable: undefined;
|
|
4044
4196
|
data: Schema.Struct<{
|
|
@@ -4059,7 +4211,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4059
4211
|
};
|
|
4060
4212
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4061
4213
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4062
|
-
readonly type: Schema.Literal<"text.ended">;
|
|
4214
|
+
readonly type: Schema.Literal<"session.text.ended">;
|
|
4063
4215
|
readonly durable: Schema.Struct<{
|
|
4064
4216
|
readonly aggregateID: Schema.String;
|
|
4065
4217
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4097,7 +4249,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4097
4249
|
};
|
|
4098
4250
|
}>;
|
|
4099
4251
|
}> & {
|
|
4100
|
-
type: "text.ended";
|
|
4252
|
+
type: "session.text.ended";
|
|
4101
4253
|
durability: "durable";
|
|
4102
4254
|
durable: {
|
|
4103
4255
|
readonly version: number;
|
|
@@ -4121,7 +4273,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4121
4273
|
};
|
|
4122
4274
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4123
4275
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4124
|
-
readonly type: Schema.Literal<"reasoning.started">;
|
|
4276
|
+
readonly type: Schema.Literal<"session.reasoning.started">;
|
|
4125
4277
|
readonly durable: Schema.Struct<{
|
|
4126
4278
|
readonly aggregateID: Schema.String;
|
|
4127
4279
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4159,7 +4311,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4159
4311
|
};
|
|
4160
4312
|
}>;
|
|
4161
4313
|
}> & {
|
|
4162
|
-
type: "reasoning.started";
|
|
4314
|
+
type: "session.reasoning.started";
|
|
4163
4315
|
durability: "durable";
|
|
4164
4316
|
durable: {
|
|
4165
4317
|
readonly version: number;
|
|
@@ -4183,7 +4335,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4183
4335
|
};
|
|
4184
4336
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4185
4337
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4186
|
-
readonly type: Schema.Literal<"reasoning.delta">;
|
|
4338
|
+
readonly type: Schema.Literal<"session.reasoning.delta">;
|
|
4187
4339
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4188
4340
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4189
4341
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -4216,7 +4368,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4216
4368
|
};
|
|
4217
4369
|
}>;
|
|
4218
4370
|
}> & {
|
|
4219
|
-
type: "reasoning.delta";
|
|
4371
|
+
type: "session.reasoning.delta";
|
|
4220
4372
|
durability: "ephemeral";
|
|
4221
4373
|
durable: undefined;
|
|
4222
4374
|
data: Schema.Struct<{
|
|
@@ -4237,7 +4389,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4237
4389
|
};
|
|
4238
4390
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4239
4391
|
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<"reasoning.ended">;
|
|
4392
|
+
readonly type: Schema.Literal<"session.reasoning.ended">;
|
|
4241
4393
|
readonly durable: Schema.Struct<{
|
|
4242
4394
|
readonly aggregateID: Schema.String;
|
|
4243
4395
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4276,7 +4428,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4276
4428
|
};
|
|
4277
4429
|
}>;
|
|
4278
4430
|
}> & {
|
|
4279
|
-
type: "reasoning.ended";
|
|
4431
|
+
type: "session.reasoning.ended";
|
|
4280
4432
|
durability: "durable";
|
|
4281
4433
|
durable: {
|
|
4282
4434
|
readonly version: number;
|
|
@@ -4301,7 +4453,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4301
4453
|
};
|
|
4302
4454
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4303
4455
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4304
|
-
readonly type: Schema.Literal<"tool.input.started">;
|
|
4456
|
+
readonly type: Schema.Literal<"session.tool.input.started">;
|
|
4305
4457
|
readonly durable: Schema.Struct<{
|
|
4306
4458
|
readonly aggregateID: Schema.String;
|
|
4307
4459
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4339,7 +4491,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4339
4491
|
};
|
|
4340
4492
|
}>;
|
|
4341
4493
|
}> & {
|
|
4342
|
-
type: "tool.input.started";
|
|
4494
|
+
type: "session.tool.input.started";
|
|
4343
4495
|
durability: "durable";
|
|
4344
4496
|
durable: {
|
|
4345
4497
|
readonly version: number;
|
|
@@ -4363,7 +4515,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4363
4515
|
};
|
|
4364
4516
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4365
4517
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4366
|
-
readonly type: Schema.Literal<"tool.input.delta">;
|
|
4518
|
+
readonly type: Schema.Literal<"session.tool.input.delta">;
|
|
4367
4519
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4368
4520
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4369
4521
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -4396,7 +4548,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4396
4548
|
};
|
|
4397
4549
|
}>;
|
|
4398
4550
|
}> & {
|
|
4399
|
-
type: "tool.input.delta";
|
|
4551
|
+
type: "session.tool.input.delta";
|
|
4400
4552
|
durability: "ephemeral";
|
|
4401
4553
|
durable: undefined;
|
|
4402
4554
|
data: Schema.Struct<{
|
|
@@ -4417,7 +4569,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4417
4569
|
};
|
|
4418
4570
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4419
4571
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4420
|
-
readonly type: Schema.Literal<"tool.input.ended">;
|
|
4572
|
+
readonly type: Schema.Literal<"session.tool.input.ended">;
|
|
4421
4573
|
readonly durable: Schema.Struct<{
|
|
4422
4574
|
readonly aggregateID: Schema.String;
|
|
4423
4575
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4455,7 +4607,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4455
4607
|
};
|
|
4456
4608
|
}>;
|
|
4457
4609
|
}> & {
|
|
4458
|
-
type: "tool.input.ended";
|
|
4610
|
+
type: "session.tool.input.ended";
|
|
4459
4611
|
durability: "durable";
|
|
4460
4612
|
durable: {
|
|
4461
4613
|
readonly version: number;
|
|
@@ -4479,7 +4631,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4479
4631
|
};
|
|
4480
4632
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4481
4633
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4482
|
-
readonly type: Schema.Literal<"tool.called">;
|
|
4634
|
+
readonly type: Schema.Literal<"session.tool.called">;
|
|
4483
4635
|
readonly durable: Schema.Struct<{
|
|
4484
4636
|
readonly aggregateID: Schema.String;
|
|
4485
4637
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4522,7 +4674,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4522
4674
|
};
|
|
4523
4675
|
}>;
|
|
4524
4676
|
}> & {
|
|
4525
|
-
type: "tool.called";
|
|
4677
|
+
type: "session.tool.called";
|
|
4526
4678
|
durability: "durable";
|
|
4527
4679
|
durable: {
|
|
4528
4680
|
readonly version: number;
|
|
@@ -4551,7 +4703,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4551
4703
|
};
|
|
4552
4704
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4553
4705
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4554
|
-
readonly type: Schema.Literal<"tool.progress">;
|
|
4706
|
+
readonly type: Schema.Literal<"session.tool.progress">;
|
|
4555
4707
|
readonly durable: Schema.Struct<{
|
|
4556
4708
|
readonly aggregateID: Schema.String;
|
|
4557
4709
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4598,7 +4750,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4598
4750
|
};
|
|
4599
4751
|
}>;
|
|
4600
4752
|
}> & {
|
|
4601
|
-
type: "tool.progress";
|
|
4753
|
+
type: "session.tool.progress";
|
|
4602
4754
|
durability: "durable";
|
|
4603
4755
|
durable: {
|
|
4604
4756
|
readonly version: number;
|
|
@@ -4631,7 +4783,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4631
4783
|
};
|
|
4632
4784
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4633
4785
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4634
|
-
readonly type: Schema.Literal<"tool.success">;
|
|
4786
|
+
readonly type: Schema.Literal<"session.tool.success">;
|
|
4635
4787
|
readonly durable: Schema.Struct<{
|
|
4636
4788
|
readonly aggregateID: Schema.String;
|
|
4637
4789
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4684,7 +4836,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4684
4836
|
};
|
|
4685
4837
|
}>;
|
|
4686
4838
|
}> & {
|
|
4687
|
-
type: "tool.success";
|
|
4839
|
+
type: "session.tool.success";
|
|
4688
4840
|
durability: "durable";
|
|
4689
4841
|
durable: {
|
|
4690
4842
|
readonly version: number;
|
|
@@ -4723,7 +4875,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4723
4875
|
};
|
|
4724
4876
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4725
4877
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4726
|
-
readonly type: Schema.Literal<"tool.failed">;
|
|
4878
|
+
readonly type: Schema.Literal<"session.tool.failed">;
|
|
4727
4879
|
readonly durable: Schema.Struct<{
|
|
4728
4880
|
readonly aggregateID: Schema.String;
|
|
4729
4881
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4769,7 +4921,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4769
4921
|
};
|
|
4770
4922
|
}>;
|
|
4771
4923
|
}> & {
|
|
4772
|
-
type: "tool.failed";
|
|
4924
|
+
type: "session.tool.failed";
|
|
4773
4925
|
durability: "durable";
|
|
4774
4926
|
durable: {
|
|
4775
4927
|
readonly version: number;
|
|
@@ -4801,7 +4953,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4801
4953
|
};
|
|
4802
4954
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4803
4955
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4804
|
-
readonly type: Schema.Literal<"retried">;
|
|
4956
|
+
readonly type: Schema.Literal<"session.retried">;
|
|
4805
4957
|
readonly durable: Schema.Struct<{
|
|
4806
4958
|
readonly aggregateID: Schema.String;
|
|
4807
4959
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4842,7 +4994,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4842
4994
|
};
|
|
4843
4995
|
}>;
|
|
4844
4996
|
}> & {
|
|
4845
|
-
type: "retried";
|
|
4997
|
+
type: "session.retried";
|
|
4846
4998
|
durability: "durable";
|
|
4847
4999
|
durable: {
|
|
4848
5000
|
readonly version: number;
|
|
@@ -4869,7 +5021,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4869
5021
|
};
|
|
4870
5022
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4871
5023
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4872
|
-
readonly type: Schema.Literal<"compaction.started">;
|
|
5024
|
+
readonly type: Schema.Literal<"session.compaction.started">;
|
|
4873
5025
|
readonly durable: Schema.Struct<{
|
|
4874
5026
|
readonly aggregateID: Schema.String;
|
|
4875
5027
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4902,7 +5054,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4902
5054
|
};
|
|
4903
5055
|
}>;
|
|
4904
5056
|
}> & {
|
|
4905
|
-
type: "compaction.started";
|
|
5057
|
+
type: "session.compaction.started";
|
|
4906
5058
|
durability: "durable";
|
|
4907
5059
|
durable: {
|
|
4908
5060
|
readonly version: number;
|
|
@@ -4921,7 +5073,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4921
5073
|
};
|
|
4922
5074
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4923
5075
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4924
|
-
readonly type: Schema.Literal<"compaction.delta">;
|
|
5076
|
+
readonly type: Schema.Literal<"session.compaction.delta">;
|
|
4925
5077
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4926
5078
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4927
5079
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -4949,7 +5101,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4949
5101
|
};
|
|
4950
5102
|
}>;
|
|
4951
5103
|
}> & {
|
|
4952
|
-
type: "compaction.delta";
|
|
5104
|
+
type: "session.compaction.delta";
|
|
4953
5105
|
durability: "ephemeral";
|
|
4954
5106
|
durable: undefined;
|
|
4955
5107
|
data: Schema.Struct<{
|
|
@@ -4965,7 +5117,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4965
5117
|
};
|
|
4966
5118
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4967
5119
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4968
|
-
readonly type: Schema.Literal<"compaction.ended">;
|
|
5120
|
+
readonly type: Schema.Literal<"session.compaction.ended">;
|
|
4969
5121
|
readonly durable: Schema.Struct<{
|
|
4970
5122
|
readonly aggregateID: Schema.String;
|
|
4971
5123
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5000,7 +5152,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5000
5152
|
};
|
|
5001
5153
|
}>;
|
|
5002
5154
|
}> & {
|
|
5003
|
-
type: "compaction.ended";
|
|
5155
|
+
type: "session.compaction.ended";
|
|
5004
5156
|
durability: "durable";
|
|
5005
5157
|
durable: {
|
|
5006
5158
|
readonly version: number;
|
|
@@ -5021,7 +5173,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5021
5173
|
};
|
|
5022
5174
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5023
5175
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5024
|
-
readonly type: Schema.Literal<"revert.staged">;
|
|
5176
|
+
readonly type: Schema.Literal<"session.revert.staged">;
|
|
5025
5177
|
readonly durable: Schema.Struct<{
|
|
5026
5178
|
readonly aggregateID: Schema.String;
|
|
5027
5179
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5075,7 +5227,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5075
5227
|
};
|
|
5076
5228
|
}>;
|
|
5077
5229
|
}> & {
|
|
5078
|
-
type: "revert.staged";
|
|
5230
|
+
type: "session.revert.staged";
|
|
5079
5231
|
durability: "durable";
|
|
5080
5232
|
durable: {
|
|
5081
5233
|
readonly version: number;
|
|
@@ -5115,7 +5267,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5115
5267
|
};
|
|
5116
5268
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5117
5269
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5118
|
-
readonly type: Schema.Literal<"revert.cleared">;
|
|
5270
|
+
readonly type: Schema.Literal<"session.revert.cleared">;
|
|
5119
5271
|
readonly durable: Schema.Struct<{
|
|
5120
5272
|
readonly aggregateID: Schema.String;
|
|
5121
5273
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5147,7 +5299,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5147
5299
|
};
|
|
5148
5300
|
}>;
|
|
5149
5301
|
}> & {
|
|
5150
|
-
type: "revert.cleared";
|
|
5302
|
+
type: "session.revert.cleared";
|
|
5151
5303
|
durability: "durable";
|
|
5152
5304
|
durable: {
|
|
5153
5305
|
readonly version: number;
|
|
@@ -5165,7 +5317,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5165
5317
|
};
|
|
5166
5318
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5167
5319
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5168
|
-
readonly type: Schema.Literal<"revert.committed">;
|
|
5320
|
+
readonly type: Schema.Literal<"session.revert.committed">;
|
|
5169
5321
|
readonly durable: Schema.Struct<{
|
|
5170
5322
|
readonly aggregateID: Schema.String;
|
|
5171
5323
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5201,7 +5353,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5201
5353
|
};
|
|
5202
5354
|
}>;
|
|
5203
5355
|
}> & {
|
|
5204
|
-
type: "revert.committed";
|
|
5356
|
+
type: "session.revert.committed";
|
|
5205
5357
|
durability: "durable";
|
|
5206
5358
|
durable: {
|
|
5207
5359
|
readonly version: number;
|
|
@@ -5224,7 +5376,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5224
5376
|
};
|
|
5225
5377
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5226
5378
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5227
|
-
readonly type: Schema.Literal<"agent.selected">;
|
|
5379
|
+
readonly type: Schema.Literal<"session.agent.selected">;
|
|
5228
5380
|
readonly durable: Schema.Struct<{
|
|
5229
5381
|
readonly aggregateID: Schema.String;
|
|
5230
5382
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5257,7 +5409,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5257
5409
|
};
|
|
5258
5410
|
}>;
|
|
5259
5411
|
}> & {
|
|
5260
|
-
type: "agent.selected";
|
|
5412
|
+
type: "session.agent.selected";
|
|
5261
5413
|
durability: "durable";
|
|
5262
5414
|
durable: {
|
|
5263
5415
|
readonly version: number;
|
|
@@ -5276,7 +5428,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5276
5428
|
};
|
|
5277
5429
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5278
5430
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5279
|
-
readonly type: Schema.Literal<"model.selected">;
|
|
5431
|
+
readonly type: Schema.Literal<"session.model.selected">;
|
|
5280
5432
|
readonly durable: Schema.Struct<{
|
|
5281
5433
|
readonly aggregateID: Schema.String;
|
|
5282
5434
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5325,7 +5477,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5325
5477
|
};
|
|
5326
5478
|
}>;
|
|
5327
5479
|
}> & {
|
|
5328
|
-
type: "model.selected";
|
|
5480
|
+
type: "session.model.selected";
|
|
5329
5481
|
durability: "durable";
|
|
5330
5482
|
durable: {
|
|
5331
5483
|
readonly version: number;
|
|
@@ -5432,7 +5584,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5432
5584
|
};
|
|
5433
5585
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5434
5586
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5435
|
-
readonly type: Schema.Literal<"renamed">;
|
|
5587
|
+
readonly type: Schema.Literal<"session.renamed">;
|
|
5436
5588
|
readonly durable: Schema.Struct<{
|
|
5437
5589
|
readonly aggregateID: Schema.String;
|
|
5438
5590
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5465,7 +5617,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5465
5617
|
};
|
|
5466
5618
|
}>;
|
|
5467
5619
|
}> & {
|
|
5468
|
-
type: "renamed";
|
|
5620
|
+
type: "session.renamed";
|
|
5469
5621
|
durability: "durable";
|
|
5470
5622
|
durable: {
|
|
5471
5623
|
readonly version: number;
|
|
@@ -5484,7 +5636,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5484
5636
|
};
|
|
5485
5637
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5486
5638
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5487
|
-
readonly type: Schema.Literal<"forked">;
|
|
5639
|
+
readonly type: Schema.Literal<"session.forked">;
|
|
5488
5640
|
readonly durable: Schema.Struct<{
|
|
5489
5641
|
readonly aggregateID: Schema.String;
|
|
5490
5642
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5527,7 +5679,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5527
5679
|
};
|
|
5528
5680
|
}>;
|
|
5529
5681
|
}> & {
|
|
5530
|
-
type: "forked";
|
|
5682
|
+
type: "session.forked";
|
|
5531
5683
|
durability: "durable";
|
|
5532
5684
|
durable: {
|
|
5533
5685
|
readonly version: number;
|
|
@@ -5556,7 +5708,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5556
5708
|
};
|
|
5557
5709
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5558
5710
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5559
|
-
readonly type: Schema.Literal<"prompt.promoted">;
|
|
5711
|
+
readonly type: Schema.Literal<"session.prompt.promoted">;
|
|
5560
5712
|
readonly durable: Schema.Struct<{
|
|
5561
5713
|
readonly aggregateID: Schema.String;
|
|
5562
5714
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5592,7 +5744,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5592
5744
|
};
|
|
5593
5745
|
}>;
|
|
5594
5746
|
}> & {
|
|
5595
|
-
type: "prompt.promoted";
|
|
5747
|
+
type: "session.prompt.promoted";
|
|
5596
5748
|
durability: "durable";
|
|
5597
5749
|
durable: {
|
|
5598
5750
|
readonly version: number;
|
|
@@ -5614,7 +5766,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5614
5766
|
};
|
|
5615
5767
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5616
5768
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5617
|
-
readonly type: Schema.Literal<"prompt.admitted">;
|
|
5769
|
+
readonly type: Schema.Literal<"session.prompt.admitted">;
|
|
5618
5770
|
readonly durable: Schema.Struct<{
|
|
5619
5771
|
readonly aggregateID: Schema.String;
|
|
5620
5772
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5775,7 +5927,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5775
5927
|
};
|
|
5776
5928
|
}>;
|
|
5777
5929
|
}> & {
|
|
5778
|
-
type: "prompt.admitted";
|
|
5930
|
+
type: "session.prompt.admitted";
|
|
5779
5931
|
durability: "durable";
|
|
5780
5932
|
durable: {
|
|
5781
5933
|
readonly version: number;
|
|
@@ -5974,7 +6126,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
5974
6126
|
};
|
|
5975
6127
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5976
6128
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5977
|
-
readonly type: Schema.Literal<"synthetic">;
|
|
6129
|
+
readonly type: Schema.Literal<"session.synthetic">;
|
|
5978
6130
|
readonly durable: Schema.Struct<{
|
|
5979
6131
|
readonly aggregateID: Schema.String;
|
|
5980
6132
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6009,7 +6161,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6009
6161
|
};
|
|
6010
6162
|
}>;
|
|
6011
6163
|
}> & {
|
|
6012
|
-
type: "synthetic";
|
|
6164
|
+
type: "session.synthetic";
|
|
6013
6165
|
durability: "durable";
|
|
6014
6166
|
durable: {
|
|
6015
6167
|
readonly version: number;
|
|
@@ -6030,7 +6182,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6030
6182
|
};
|
|
6031
6183
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6032
6184
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6033
|
-
readonly type: Schema.Literal<"skill.activated">;
|
|
6185
|
+
readonly type: Schema.Literal<"session.skill.activated">;
|
|
6034
6186
|
readonly durable: Schema.Struct<{
|
|
6035
6187
|
readonly aggregateID: Schema.String;
|
|
6036
6188
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6064,7 +6216,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6064
6216
|
};
|
|
6065
6217
|
}>;
|
|
6066
6218
|
}> & {
|
|
6067
|
-
type: "skill.activated";
|
|
6219
|
+
type: "session.skill.activated";
|
|
6068
6220
|
durability: "durable";
|
|
6069
6221
|
durable: {
|
|
6070
6222
|
readonly version: number;
|
|
@@ -6084,7 +6236,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6084
6236
|
};
|
|
6085
6237
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6086
6238
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6087
|
-
readonly type: Schema.Literal<"shell.started">;
|
|
6239
|
+
readonly type: Schema.Literal<"session.shell.started">;
|
|
6088
6240
|
readonly durable: Schema.Struct<{
|
|
6089
6241
|
readonly aggregateID: Schema.String;
|
|
6090
6242
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6110,23 +6262,55 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6110
6262
|
}>, never, never>;
|
|
6111
6263
|
}>>, never, never>;
|
|
6112
6264
|
readonly data: Schema.Struct<{
|
|
6113
|
-
readonly
|
|
6114
|
-
|
|
6265
|
+
readonly shell: Schema.Struct<{
|
|
6266
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
6267
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
6268
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
6269
|
+
};
|
|
6270
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
6271
|
+
readonly command: Schema.String;
|
|
6272
|
+
readonly cwd: Schema.String;
|
|
6273
|
+
readonly shell: Schema.String;
|
|
6274
|
+
readonly file: Schema.String;
|
|
6275
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6276
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6277
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
6278
|
+
readonly time: Schema.Struct<{
|
|
6279
|
+
readonly started: Schema.Number;
|
|
6280
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6281
|
+
}>;
|
|
6282
|
+
}>;
|
|
6115
6283
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6116
6284
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6117
6285
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6118
6286
|
};
|
|
6119
6287
|
}>;
|
|
6120
6288
|
}> & {
|
|
6121
|
-
type: "shell.started";
|
|
6289
|
+
type: "session.shell.started";
|
|
6122
6290
|
durability: "durable";
|
|
6123
6291
|
durable: {
|
|
6124
6292
|
readonly version: number;
|
|
6125
6293
|
readonly aggregate: string;
|
|
6126
6294
|
};
|
|
6127
6295
|
data: Schema.Struct<{
|
|
6128
|
-
readonly
|
|
6129
|
-
|
|
6296
|
+
readonly shell: Schema.Struct<{
|
|
6297
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
6298
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
6299
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
6300
|
+
};
|
|
6301
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
6302
|
+
readonly command: Schema.String;
|
|
6303
|
+
readonly cwd: Schema.String;
|
|
6304
|
+
readonly shell: Schema.String;
|
|
6305
|
+
readonly file: Schema.String;
|
|
6306
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6307
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6308
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
6309
|
+
readonly time: Schema.Struct<{
|
|
6310
|
+
readonly started: Schema.Number;
|
|
6311
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6312
|
+
}>;
|
|
6313
|
+
}>;
|
|
6130
6314
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6131
6315
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6132
6316
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6138,7 +6322,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6138
6322
|
};
|
|
6139
6323
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6140
6324
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6141
|
-
readonly type: Schema.Literal<"shell.ended">;
|
|
6325
|
+
readonly type: Schema.Literal<"session.shell.ended">;
|
|
6142
6326
|
readonly durable: Schema.Struct<{
|
|
6143
6327
|
readonly aggregateID: Schema.String;
|
|
6144
6328
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6164,23 +6348,67 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6164
6348
|
}>, never, never>;
|
|
6165
6349
|
}>>, never, never>;
|
|
6166
6350
|
readonly data: Schema.Struct<{
|
|
6167
|
-
readonly
|
|
6168
|
-
|
|
6351
|
+
readonly shell: Schema.Struct<{
|
|
6352
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
6353
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
6354
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
6355
|
+
};
|
|
6356
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
6357
|
+
readonly command: Schema.String;
|
|
6358
|
+
readonly cwd: Schema.String;
|
|
6359
|
+
readonly shell: Schema.String;
|
|
6360
|
+
readonly file: Schema.String;
|
|
6361
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6362
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6363
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
6364
|
+
readonly time: Schema.Struct<{
|
|
6365
|
+
readonly started: Schema.Number;
|
|
6366
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6367
|
+
}>;
|
|
6368
|
+
}>;
|
|
6369
|
+
readonly output: Schema.Struct<{
|
|
6370
|
+
readonly output: Schema.String;
|
|
6371
|
+
readonly cursor: Schema.Int;
|
|
6372
|
+
readonly size: Schema.Int;
|
|
6373
|
+
readonly truncated: Schema.Boolean;
|
|
6374
|
+
}>;
|
|
6169
6375
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6170
6376
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6171
6377
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6172
6378
|
};
|
|
6173
6379
|
}>;
|
|
6174
6380
|
}> & {
|
|
6175
|
-
type: "shell.ended";
|
|
6381
|
+
type: "session.shell.ended";
|
|
6176
6382
|
durability: "durable";
|
|
6177
6383
|
durable: {
|
|
6178
6384
|
readonly version: number;
|
|
6179
6385
|
readonly aggregate: string;
|
|
6180
6386
|
};
|
|
6181
6387
|
data: Schema.Struct<{
|
|
6182
|
-
readonly
|
|
6183
|
-
|
|
6388
|
+
readonly shell: Schema.Struct<{
|
|
6389
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
6390
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
6391
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
6392
|
+
};
|
|
6393
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
6394
|
+
readonly command: Schema.String;
|
|
6395
|
+
readonly cwd: Schema.String;
|
|
6396
|
+
readonly shell: Schema.String;
|
|
6397
|
+
readonly file: Schema.String;
|
|
6398
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6399
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6400
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
6401
|
+
readonly time: Schema.Struct<{
|
|
6402
|
+
readonly started: Schema.Number;
|
|
6403
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
6404
|
+
}>;
|
|
6405
|
+
}>;
|
|
6406
|
+
readonly output: Schema.Struct<{
|
|
6407
|
+
readonly output: Schema.String;
|
|
6408
|
+
readonly cursor: Schema.Int;
|
|
6409
|
+
readonly size: Schema.Int;
|
|
6410
|
+
readonly truncated: Schema.Boolean;
|
|
6411
|
+
}>;
|
|
6184
6412
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6185
6413
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6186
6414
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6192,7 +6420,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6192
6420
|
};
|
|
6193
6421
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6194
6422
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6195
|
-
readonly type: Schema.Literal<"step.started">;
|
|
6423
|
+
readonly type: Schema.Literal<"session.step.started">;
|
|
6196
6424
|
readonly durable: Schema.Struct<{
|
|
6197
6425
|
readonly aggregateID: Schema.String;
|
|
6198
6426
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6247,7 +6475,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6247
6475
|
};
|
|
6248
6476
|
}>;
|
|
6249
6477
|
}> & {
|
|
6250
|
-
type: "step.started";
|
|
6478
|
+
type: "session.step.started";
|
|
6251
6479
|
durability: "durable";
|
|
6252
6480
|
durable: {
|
|
6253
6481
|
readonly version: number;
|
|
@@ -6288,7 +6516,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6288
6516
|
};
|
|
6289
6517
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6290
6518
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6291
|
-
readonly type: Schema.Literal<"step.ended">;
|
|
6519
|
+
readonly type: Schema.Literal<"session.step.ended">;
|
|
6292
6520
|
readonly durable: Schema.Struct<{
|
|
6293
6521
|
readonly aggregateID: Schema.String;
|
|
6294
6522
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6337,7 +6565,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6337
6565
|
};
|
|
6338
6566
|
}>;
|
|
6339
6567
|
}> & {
|
|
6340
|
-
type: "step.ended";
|
|
6568
|
+
type: "session.step.ended";
|
|
6341
6569
|
durability: "durable";
|
|
6342
6570
|
durable: {
|
|
6343
6571
|
readonly version: number;
|
|
@@ -6372,7 +6600,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6372
6600
|
};
|
|
6373
6601
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6374
6602
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6375
|
-
readonly type: Schema.Literal<"step.failed">;
|
|
6603
|
+
readonly type: Schema.Literal<"session.step.failed">;
|
|
6376
6604
|
readonly durable: Schema.Struct<{
|
|
6377
6605
|
readonly aggregateID: Schema.String;
|
|
6378
6606
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6412,7 +6640,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6412
6640
|
};
|
|
6413
6641
|
}>;
|
|
6414
6642
|
}> & {
|
|
6415
|
-
type: "step.failed";
|
|
6643
|
+
type: "session.step.failed";
|
|
6416
6644
|
durability: "durable";
|
|
6417
6645
|
durable: {
|
|
6418
6646
|
readonly version: number;
|
|
@@ -6438,7 +6666,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6438
6666
|
};
|
|
6439
6667
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6440
6668
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6441
|
-
readonly type: Schema.Literal<"text.started">;
|
|
6669
|
+
readonly type: Schema.Literal<"session.text.started">;
|
|
6442
6670
|
readonly durable: Schema.Struct<{
|
|
6443
6671
|
readonly aggregateID: Schema.String;
|
|
6444
6672
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6475,7 +6703,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6475
6703
|
};
|
|
6476
6704
|
}>;
|
|
6477
6705
|
}> & {
|
|
6478
|
-
type: "text.started";
|
|
6706
|
+
type: "session.text.started";
|
|
6479
6707
|
durability: "durable";
|
|
6480
6708
|
durable: {
|
|
6481
6709
|
readonly version: number;
|
|
@@ -6498,7 +6726,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6498
6726
|
};
|
|
6499
6727
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6500
6728
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6501
|
-
readonly type: Schema.Literal<"text.ended">;
|
|
6729
|
+
readonly type: Schema.Literal<"session.text.ended">;
|
|
6502
6730
|
readonly durable: Schema.Struct<{
|
|
6503
6731
|
readonly aggregateID: Schema.String;
|
|
6504
6732
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6536,7 +6764,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6536
6764
|
};
|
|
6537
6765
|
}>;
|
|
6538
6766
|
}> & {
|
|
6539
|
-
type: "text.ended";
|
|
6767
|
+
type: "session.text.ended";
|
|
6540
6768
|
durability: "durable";
|
|
6541
6769
|
durable: {
|
|
6542
6770
|
readonly version: number;
|
|
@@ -6560,7 +6788,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6560
6788
|
};
|
|
6561
6789
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6562
6790
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6563
|
-
readonly type: Schema.Literal<"reasoning.started">;
|
|
6791
|
+
readonly type: Schema.Literal<"session.reasoning.started">;
|
|
6564
6792
|
readonly durable: Schema.Struct<{
|
|
6565
6793
|
readonly aggregateID: Schema.String;
|
|
6566
6794
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6598,7 +6826,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6598
6826
|
};
|
|
6599
6827
|
}>;
|
|
6600
6828
|
}> & {
|
|
6601
|
-
type: "reasoning.started";
|
|
6829
|
+
type: "session.reasoning.started";
|
|
6602
6830
|
durability: "durable";
|
|
6603
6831
|
durable: {
|
|
6604
6832
|
readonly version: number;
|
|
@@ -6622,7 +6850,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6622
6850
|
};
|
|
6623
6851
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6624
6852
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6625
|
-
readonly type: Schema.Literal<"reasoning.ended">;
|
|
6853
|
+
readonly type: Schema.Literal<"session.reasoning.ended">;
|
|
6626
6854
|
readonly durable: Schema.Struct<{
|
|
6627
6855
|
readonly aggregateID: Schema.String;
|
|
6628
6856
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6661,7 +6889,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6661
6889
|
};
|
|
6662
6890
|
}>;
|
|
6663
6891
|
}> & {
|
|
6664
|
-
type: "reasoning.ended";
|
|
6892
|
+
type: "session.reasoning.ended";
|
|
6665
6893
|
durability: "durable";
|
|
6666
6894
|
durable: {
|
|
6667
6895
|
readonly version: number;
|
|
@@ -6686,7 +6914,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6686
6914
|
};
|
|
6687
6915
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6688
6916
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6689
|
-
readonly type: Schema.Literal<"tool.input.started">;
|
|
6917
|
+
readonly type: Schema.Literal<"session.tool.input.started">;
|
|
6690
6918
|
readonly durable: Schema.Struct<{
|
|
6691
6919
|
readonly aggregateID: Schema.String;
|
|
6692
6920
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6724,7 +6952,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6724
6952
|
};
|
|
6725
6953
|
}>;
|
|
6726
6954
|
}> & {
|
|
6727
|
-
type: "tool.input.started";
|
|
6955
|
+
type: "session.tool.input.started";
|
|
6728
6956
|
durability: "durable";
|
|
6729
6957
|
durable: {
|
|
6730
6958
|
readonly version: number;
|
|
@@ -6748,7 +6976,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6748
6976
|
};
|
|
6749
6977
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6750
6978
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6751
|
-
readonly type: Schema.Literal<"tool.input.ended">;
|
|
6979
|
+
readonly type: Schema.Literal<"session.tool.input.ended">;
|
|
6752
6980
|
readonly durable: Schema.Struct<{
|
|
6753
6981
|
readonly aggregateID: Schema.String;
|
|
6754
6982
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6786,7 +7014,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6786
7014
|
};
|
|
6787
7015
|
}>;
|
|
6788
7016
|
}> & {
|
|
6789
|
-
type: "tool.input.ended";
|
|
7017
|
+
type: "session.tool.input.ended";
|
|
6790
7018
|
durability: "durable";
|
|
6791
7019
|
durable: {
|
|
6792
7020
|
readonly version: number;
|
|
@@ -6810,7 +7038,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6810
7038
|
};
|
|
6811
7039
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6812
7040
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6813
|
-
readonly type: Schema.Literal<"tool.called">;
|
|
7041
|
+
readonly type: Schema.Literal<"session.tool.called">;
|
|
6814
7042
|
readonly durable: Schema.Struct<{
|
|
6815
7043
|
readonly aggregateID: Schema.String;
|
|
6816
7044
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6853,7 +7081,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6853
7081
|
};
|
|
6854
7082
|
}>;
|
|
6855
7083
|
}> & {
|
|
6856
|
-
type: "tool.called";
|
|
7084
|
+
type: "session.tool.called";
|
|
6857
7085
|
durability: "durable";
|
|
6858
7086
|
durable: {
|
|
6859
7087
|
readonly version: number;
|
|
@@ -6882,7 +7110,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6882
7110
|
};
|
|
6883
7111
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6884
7112
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6885
|
-
readonly type: Schema.Literal<"tool.progress">;
|
|
7113
|
+
readonly type: Schema.Literal<"session.tool.progress">;
|
|
6886
7114
|
readonly durable: Schema.Struct<{
|
|
6887
7115
|
readonly aggregateID: Schema.String;
|
|
6888
7116
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6929,7 +7157,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6929
7157
|
};
|
|
6930
7158
|
}>;
|
|
6931
7159
|
}> & {
|
|
6932
|
-
type: "tool.progress";
|
|
7160
|
+
type: "session.tool.progress";
|
|
6933
7161
|
durability: "durable";
|
|
6934
7162
|
durable: {
|
|
6935
7163
|
readonly version: number;
|
|
@@ -6962,7 +7190,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6962
7190
|
};
|
|
6963
7191
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6964
7192
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6965
|
-
readonly type: Schema.Literal<"tool.success">;
|
|
7193
|
+
readonly type: Schema.Literal<"session.tool.success">;
|
|
6966
7194
|
readonly durable: Schema.Struct<{
|
|
6967
7195
|
readonly aggregateID: Schema.String;
|
|
6968
7196
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7015,7 +7243,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7015
7243
|
};
|
|
7016
7244
|
}>;
|
|
7017
7245
|
}> & {
|
|
7018
|
-
type: "tool.success";
|
|
7246
|
+
type: "session.tool.success";
|
|
7019
7247
|
durability: "durable";
|
|
7020
7248
|
durable: {
|
|
7021
7249
|
readonly version: number;
|
|
@@ -7054,7 +7282,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7054
7282
|
};
|
|
7055
7283
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7056
7284
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7057
|
-
readonly type: Schema.Literal<"tool.failed">;
|
|
7285
|
+
readonly type: Schema.Literal<"session.tool.failed">;
|
|
7058
7286
|
readonly durable: Schema.Struct<{
|
|
7059
7287
|
readonly aggregateID: Schema.String;
|
|
7060
7288
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7100,7 +7328,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7100
7328
|
};
|
|
7101
7329
|
}>;
|
|
7102
7330
|
}> & {
|
|
7103
|
-
type: "tool.failed";
|
|
7331
|
+
type: "session.tool.failed";
|
|
7104
7332
|
durability: "durable";
|
|
7105
7333
|
durable: {
|
|
7106
7334
|
readonly version: number;
|
|
@@ -7132,7 +7360,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7132
7360
|
};
|
|
7133
7361
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7134
7362
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7135
|
-
readonly type: Schema.Literal<"retried">;
|
|
7363
|
+
readonly type: Schema.Literal<"session.retried">;
|
|
7136
7364
|
readonly durable: Schema.Struct<{
|
|
7137
7365
|
readonly aggregateID: Schema.String;
|
|
7138
7366
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7173,7 +7401,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7173
7401
|
};
|
|
7174
7402
|
}>;
|
|
7175
7403
|
}> & {
|
|
7176
|
-
type: "retried";
|
|
7404
|
+
type: "session.retried";
|
|
7177
7405
|
durability: "durable";
|
|
7178
7406
|
durable: {
|
|
7179
7407
|
readonly version: number;
|
|
@@ -7200,7 +7428,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7200
7428
|
};
|
|
7201
7429
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7202
7430
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7203
|
-
readonly type: Schema.Literal<"compaction.started">;
|
|
7431
|
+
readonly type: Schema.Literal<"session.compaction.started">;
|
|
7204
7432
|
readonly durable: Schema.Struct<{
|
|
7205
7433
|
readonly aggregateID: Schema.String;
|
|
7206
7434
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7233,7 +7461,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7233
7461
|
};
|
|
7234
7462
|
}>;
|
|
7235
7463
|
}> & {
|
|
7236
|
-
type: "compaction.started";
|
|
7464
|
+
type: "session.compaction.started";
|
|
7237
7465
|
durability: "durable";
|
|
7238
7466
|
durable: {
|
|
7239
7467
|
readonly version: number;
|
|
@@ -7252,7 +7480,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7252
7480
|
};
|
|
7253
7481
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7254
7482
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7255
|
-
readonly type: Schema.Literal<"compaction.ended">;
|
|
7483
|
+
readonly type: Schema.Literal<"session.compaction.ended">;
|
|
7256
7484
|
readonly durable: Schema.Struct<{
|
|
7257
7485
|
readonly aggregateID: Schema.String;
|
|
7258
7486
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7287,7 +7515,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7287
7515
|
};
|
|
7288
7516
|
}>;
|
|
7289
7517
|
}> & {
|
|
7290
|
-
type: "compaction.ended";
|
|
7518
|
+
type: "session.compaction.ended";
|
|
7291
7519
|
durability: "durable";
|
|
7292
7520
|
durable: {
|
|
7293
7521
|
readonly version: number;
|
|
@@ -7308,7 +7536,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7308
7536
|
};
|
|
7309
7537
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7310
7538
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7311
|
-
readonly type: Schema.Literal<"revert.staged">;
|
|
7539
|
+
readonly type: Schema.Literal<"session.revert.staged">;
|
|
7312
7540
|
readonly durable: Schema.Struct<{
|
|
7313
7541
|
readonly aggregateID: Schema.String;
|
|
7314
7542
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7362,7 +7590,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7362
7590
|
};
|
|
7363
7591
|
}>;
|
|
7364
7592
|
}> & {
|
|
7365
|
-
type: "revert.staged";
|
|
7593
|
+
type: "session.revert.staged";
|
|
7366
7594
|
durability: "durable";
|
|
7367
7595
|
durable: {
|
|
7368
7596
|
readonly version: number;
|
|
@@ -7402,7 +7630,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7402
7630
|
};
|
|
7403
7631
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7404
7632
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7405
|
-
readonly type: Schema.Literal<"revert.cleared">;
|
|
7633
|
+
readonly type: Schema.Literal<"session.revert.cleared">;
|
|
7406
7634
|
readonly durable: Schema.Struct<{
|
|
7407
7635
|
readonly aggregateID: Schema.String;
|
|
7408
7636
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7434,7 +7662,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7434
7662
|
};
|
|
7435
7663
|
}>;
|
|
7436
7664
|
}> & {
|
|
7437
|
-
type: "revert.cleared";
|
|
7665
|
+
type: "session.revert.cleared";
|
|
7438
7666
|
durability: "durable";
|
|
7439
7667
|
durable: {
|
|
7440
7668
|
readonly version: number;
|
|
@@ -7452,7 +7680,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7452
7680
|
};
|
|
7453
7681
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7454
7682
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7455
|
-
readonly type: Schema.Literal<"revert.committed">;
|
|
7683
|
+
readonly type: Schema.Literal<"session.revert.committed">;
|
|
7456
7684
|
readonly durable: Schema.Struct<{
|
|
7457
7685
|
readonly aggregateID: Schema.String;
|
|
7458
7686
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7488,7 +7716,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7488
7716
|
};
|
|
7489
7717
|
}>;
|
|
7490
7718
|
}> & {
|
|
7491
|
-
type: "revert.committed";
|
|
7719
|
+
type: "session.revert.committed";
|
|
7492
7720
|
durability: "durable";
|
|
7493
7721
|
durable: {
|
|
7494
7722
|
readonly version: number;
|
|
@@ -7511,7 +7739,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7511
7739
|
};
|
|
7512
7740
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7513
7741
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7514
|
-
readonly type: Schema.Literal<"agent.selected">;
|
|
7742
|
+
readonly type: Schema.Literal<"session.agent.selected">;
|
|
7515
7743
|
readonly durable: Schema.Struct<{
|
|
7516
7744
|
readonly aggregateID: Schema.String;
|
|
7517
7745
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7544,7 +7772,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7544
7772
|
};
|
|
7545
7773
|
}>;
|
|
7546
7774
|
}> & {
|
|
7547
|
-
type: "agent.selected";
|
|
7775
|
+
type: "session.agent.selected";
|
|
7548
7776
|
durability: "durable";
|
|
7549
7777
|
durable: {
|
|
7550
7778
|
readonly version: number;
|
|
@@ -7563,7 +7791,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7563
7791
|
};
|
|
7564
7792
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7565
7793
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7566
|
-
readonly type: Schema.Literal<"model.selected">;
|
|
7794
|
+
readonly type: Schema.Literal<"session.model.selected">;
|
|
7567
7795
|
readonly durable: Schema.Struct<{
|
|
7568
7796
|
readonly aggregateID: Schema.String;
|
|
7569
7797
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7612,7 +7840,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7612
7840
|
};
|
|
7613
7841
|
}>;
|
|
7614
7842
|
}> & {
|
|
7615
|
-
type: "model.selected";
|
|
7843
|
+
type: "session.model.selected";
|
|
7616
7844
|
durability: "durable";
|
|
7617
7845
|
durable: {
|
|
7618
7846
|
readonly version: number;
|
|
@@ -7719,7 +7947,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7719
7947
|
};
|
|
7720
7948
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7721
7949
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7722
|
-
readonly type: Schema.Literal<"renamed">;
|
|
7950
|
+
readonly type: Schema.Literal<"session.renamed">;
|
|
7723
7951
|
readonly durable: Schema.Struct<{
|
|
7724
7952
|
readonly aggregateID: Schema.String;
|
|
7725
7953
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7752,7 +7980,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7752
7980
|
};
|
|
7753
7981
|
}>;
|
|
7754
7982
|
}> & {
|
|
7755
|
-
type: "renamed";
|
|
7983
|
+
type: "session.renamed";
|
|
7756
7984
|
durability: "durable";
|
|
7757
7985
|
durable: {
|
|
7758
7986
|
readonly version: number;
|
|
@@ -7771,7 +7999,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7771
7999
|
};
|
|
7772
8000
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7773
8001
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7774
|
-
readonly type: Schema.Literal<"forked">;
|
|
8002
|
+
readonly type: Schema.Literal<"session.forked">;
|
|
7775
8003
|
readonly durable: Schema.Struct<{
|
|
7776
8004
|
readonly aggregateID: Schema.String;
|
|
7777
8005
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7814,7 +8042,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7814
8042
|
};
|
|
7815
8043
|
}>;
|
|
7816
8044
|
}> & {
|
|
7817
|
-
type: "forked";
|
|
8045
|
+
type: "session.forked";
|
|
7818
8046
|
durability: "durable";
|
|
7819
8047
|
durable: {
|
|
7820
8048
|
readonly version: number;
|
|
@@ -7843,7 +8071,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7843
8071
|
};
|
|
7844
8072
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7845
8073
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7846
|
-
readonly type: Schema.Literal<"prompt.promoted">;
|
|
8074
|
+
readonly type: Schema.Literal<"session.prompt.promoted">;
|
|
7847
8075
|
readonly durable: Schema.Struct<{
|
|
7848
8076
|
readonly aggregateID: Schema.String;
|
|
7849
8077
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7879,7 +8107,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7879
8107
|
};
|
|
7880
8108
|
}>;
|
|
7881
8109
|
}> & {
|
|
7882
|
-
type: "prompt.promoted";
|
|
8110
|
+
type: "session.prompt.promoted";
|
|
7883
8111
|
durability: "durable";
|
|
7884
8112
|
durable: {
|
|
7885
8113
|
readonly version: number;
|
|
@@ -7901,7 +8129,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
7901
8129
|
};
|
|
7902
8130
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7903
8131
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7904
|
-
readonly type: Schema.Literal<"prompt.admitted">;
|
|
8132
|
+
readonly type: Schema.Literal<"session.prompt.admitted">;
|
|
7905
8133
|
readonly durable: Schema.Struct<{
|
|
7906
8134
|
readonly aggregateID: Schema.String;
|
|
7907
8135
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8062,7 +8290,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8062
8290
|
};
|
|
8063
8291
|
}>;
|
|
8064
8292
|
}> & {
|
|
8065
|
-
type: "prompt.admitted";
|
|
8293
|
+
type: "session.prompt.admitted";
|
|
8066
8294
|
durability: "durable";
|
|
8067
8295
|
durable: {
|
|
8068
8296
|
readonly version: number;
|
|
@@ -8261,7 +8489,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8261
8489
|
};
|
|
8262
8490
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8263
8491
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8264
|
-
readonly type: Schema.Literal<"synthetic">;
|
|
8492
|
+
readonly type: Schema.Literal<"session.synthetic">;
|
|
8265
8493
|
readonly durable: Schema.Struct<{
|
|
8266
8494
|
readonly aggregateID: Schema.String;
|
|
8267
8495
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8296,7 +8524,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8296
8524
|
};
|
|
8297
8525
|
}>;
|
|
8298
8526
|
}> & {
|
|
8299
|
-
type: "synthetic";
|
|
8527
|
+
type: "session.synthetic";
|
|
8300
8528
|
durability: "durable";
|
|
8301
8529
|
durable: {
|
|
8302
8530
|
readonly version: number;
|
|
@@ -8317,7 +8545,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8317
8545
|
};
|
|
8318
8546
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8319
8547
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8320
|
-
readonly type: Schema.Literal<"skill.activated">;
|
|
8548
|
+
readonly type: Schema.Literal<"session.skill.activated">;
|
|
8321
8549
|
readonly durable: Schema.Struct<{
|
|
8322
8550
|
readonly aggregateID: Schema.String;
|
|
8323
8551
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8351,7 +8579,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8351
8579
|
};
|
|
8352
8580
|
}>;
|
|
8353
8581
|
}> & {
|
|
8354
|
-
type: "skill.activated";
|
|
8582
|
+
type: "session.skill.activated";
|
|
8355
8583
|
durability: "durable";
|
|
8356
8584
|
durable: {
|
|
8357
8585
|
readonly version: number;
|
|
@@ -8371,7 +8599,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8371
8599
|
};
|
|
8372
8600
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8373
8601
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8374
|
-
readonly type: Schema.Literal<"shell.started">;
|
|
8602
|
+
readonly type: Schema.Literal<"session.shell.started">;
|
|
8375
8603
|
readonly durable: Schema.Struct<{
|
|
8376
8604
|
readonly aggregateID: Schema.String;
|
|
8377
8605
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8397,23 +8625,55 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8397
8625
|
}>, never, never>;
|
|
8398
8626
|
}>>, never, never>;
|
|
8399
8627
|
readonly data: Schema.Struct<{
|
|
8400
|
-
readonly
|
|
8401
|
-
|
|
8628
|
+
readonly shell: Schema.Struct<{
|
|
8629
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
8630
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
8631
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
8632
|
+
};
|
|
8633
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
8634
|
+
readonly command: Schema.String;
|
|
8635
|
+
readonly cwd: Schema.String;
|
|
8636
|
+
readonly shell: Schema.String;
|
|
8637
|
+
readonly file: Schema.String;
|
|
8638
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8639
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8640
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
8641
|
+
readonly time: Schema.Struct<{
|
|
8642
|
+
readonly started: Schema.Number;
|
|
8643
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8644
|
+
}>;
|
|
8645
|
+
}>;
|
|
8402
8646
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8403
8647
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8404
8648
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8405
8649
|
};
|
|
8406
8650
|
}>;
|
|
8407
8651
|
}> & {
|
|
8408
|
-
type: "shell.started";
|
|
8652
|
+
type: "session.shell.started";
|
|
8409
8653
|
durability: "durable";
|
|
8410
8654
|
durable: {
|
|
8411
8655
|
readonly version: number;
|
|
8412
8656
|
readonly aggregate: string;
|
|
8413
8657
|
};
|
|
8414
8658
|
data: Schema.Struct<{
|
|
8415
|
-
readonly
|
|
8416
|
-
|
|
8659
|
+
readonly shell: Schema.Struct<{
|
|
8660
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
8661
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
8662
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
8663
|
+
};
|
|
8664
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
8665
|
+
readonly command: Schema.String;
|
|
8666
|
+
readonly cwd: Schema.String;
|
|
8667
|
+
readonly shell: Schema.String;
|
|
8668
|
+
readonly file: Schema.String;
|
|
8669
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8670
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8671
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
8672
|
+
readonly time: Schema.Struct<{
|
|
8673
|
+
readonly started: Schema.Number;
|
|
8674
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8675
|
+
}>;
|
|
8676
|
+
}>;
|
|
8417
8677
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8418
8678
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8419
8679
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8425,7 +8685,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8425
8685
|
};
|
|
8426
8686
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8427
8687
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8428
|
-
readonly type: Schema.Literal<"shell.ended">;
|
|
8688
|
+
readonly type: Schema.Literal<"session.shell.ended">;
|
|
8429
8689
|
readonly durable: Schema.Struct<{
|
|
8430
8690
|
readonly aggregateID: Schema.String;
|
|
8431
8691
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8451,23 +8711,67 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8451
8711
|
}>, never, never>;
|
|
8452
8712
|
}>>, never, never>;
|
|
8453
8713
|
readonly data: Schema.Struct<{
|
|
8454
|
-
readonly
|
|
8455
|
-
|
|
8714
|
+
readonly shell: Schema.Struct<{
|
|
8715
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
8716
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
8717
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
8718
|
+
};
|
|
8719
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
8720
|
+
readonly command: Schema.String;
|
|
8721
|
+
readonly cwd: Schema.String;
|
|
8722
|
+
readonly shell: Schema.String;
|
|
8723
|
+
readonly file: Schema.String;
|
|
8724
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8725
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8726
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
8727
|
+
readonly time: Schema.Struct<{
|
|
8728
|
+
readonly started: Schema.Number;
|
|
8729
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8730
|
+
}>;
|
|
8731
|
+
}>;
|
|
8732
|
+
readonly output: Schema.Struct<{
|
|
8733
|
+
readonly output: Schema.String;
|
|
8734
|
+
readonly cursor: Schema.Int;
|
|
8735
|
+
readonly size: Schema.Int;
|
|
8736
|
+
readonly truncated: Schema.Boolean;
|
|
8737
|
+
}>;
|
|
8456
8738
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8457
8739
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8458
8740
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8459
8741
|
};
|
|
8460
8742
|
}>;
|
|
8461
8743
|
}> & {
|
|
8462
|
-
type: "shell.ended";
|
|
8744
|
+
type: "session.shell.ended";
|
|
8463
8745
|
durability: "durable";
|
|
8464
8746
|
durable: {
|
|
8465
8747
|
readonly version: number;
|
|
8466
8748
|
readonly aggregate: string;
|
|
8467
8749
|
};
|
|
8468
8750
|
data: Schema.Struct<{
|
|
8469
|
-
readonly
|
|
8470
|
-
|
|
8751
|
+
readonly shell: Schema.Struct<{
|
|
8752
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
8753
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
8754
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
8755
|
+
};
|
|
8756
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
8757
|
+
readonly command: Schema.String;
|
|
8758
|
+
readonly cwd: Schema.String;
|
|
8759
|
+
readonly shell: Schema.String;
|
|
8760
|
+
readonly file: Schema.String;
|
|
8761
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8762
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8763
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
8764
|
+
readonly time: Schema.Struct<{
|
|
8765
|
+
readonly started: Schema.Number;
|
|
8766
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
8767
|
+
}>;
|
|
8768
|
+
}>;
|
|
8769
|
+
readonly output: Schema.Struct<{
|
|
8770
|
+
readonly output: Schema.String;
|
|
8771
|
+
readonly cursor: Schema.Int;
|
|
8772
|
+
readonly size: Schema.Int;
|
|
8773
|
+
readonly truncated: Schema.Boolean;
|
|
8774
|
+
}>;
|
|
8471
8775
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8472
8776
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8473
8777
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8479,7 +8783,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8479
8783
|
};
|
|
8480
8784
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8481
8785
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8482
|
-
readonly type: Schema.Literal<"step.started">;
|
|
8786
|
+
readonly type: Schema.Literal<"session.step.started">;
|
|
8483
8787
|
readonly durable: Schema.Struct<{
|
|
8484
8788
|
readonly aggregateID: Schema.String;
|
|
8485
8789
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8534,7 +8838,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8534
8838
|
};
|
|
8535
8839
|
}>;
|
|
8536
8840
|
}> & {
|
|
8537
|
-
type: "step.started";
|
|
8841
|
+
type: "session.step.started";
|
|
8538
8842
|
durability: "durable";
|
|
8539
8843
|
durable: {
|
|
8540
8844
|
readonly version: number;
|
|
@@ -8575,7 +8879,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8575
8879
|
};
|
|
8576
8880
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8577
8881
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8578
|
-
readonly type: Schema.Literal<"step.ended">;
|
|
8882
|
+
readonly type: Schema.Literal<"session.step.ended">;
|
|
8579
8883
|
readonly durable: Schema.Struct<{
|
|
8580
8884
|
readonly aggregateID: Schema.String;
|
|
8581
8885
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8624,7 +8928,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8624
8928
|
};
|
|
8625
8929
|
}>;
|
|
8626
8930
|
}> & {
|
|
8627
|
-
type: "step.ended";
|
|
8931
|
+
type: "session.step.ended";
|
|
8628
8932
|
durability: "durable";
|
|
8629
8933
|
durable: {
|
|
8630
8934
|
readonly version: number;
|
|
@@ -8659,7 +8963,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8659
8963
|
};
|
|
8660
8964
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8661
8965
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8662
|
-
readonly type: Schema.Literal<"step.failed">;
|
|
8966
|
+
readonly type: Schema.Literal<"session.step.failed">;
|
|
8663
8967
|
readonly durable: Schema.Struct<{
|
|
8664
8968
|
readonly aggregateID: Schema.String;
|
|
8665
8969
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8699,7 +9003,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8699
9003
|
};
|
|
8700
9004
|
}>;
|
|
8701
9005
|
}> & {
|
|
8702
|
-
type: "step.failed";
|
|
9006
|
+
type: "session.step.failed";
|
|
8703
9007
|
durability: "durable";
|
|
8704
9008
|
durable: {
|
|
8705
9009
|
readonly version: number;
|
|
@@ -8725,7 +9029,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8725
9029
|
};
|
|
8726
9030
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8727
9031
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8728
|
-
readonly type: Schema.Literal<"text.started">;
|
|
9032
|
+
readonly type: Schema.Literal<"session.text.started">;
|
|
8729
9033
|
readonly durable: Schema.Struct<{
|
|
8730
9034
|
readonly aggregateID: Schema.String;
|
|
8731
9035
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8762,7 +9066,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8762
9066
|
};
|
|
8763
9067
|
}>;
|
|
8764
9068
|
}> & {
|
|
8765
|
-
type: "text.started";
|
|
9069
|
+
type: "session.text.started";
|
|
8766
9070
|
durability: "durable";
|
|
8767
9071
|
durable: {
|
|
8768
9072
|
readonly version: number;
|
|
@@ -8785,7 +9089,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8785
9089
|
};
|
|
8786
9090
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8787
9091
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8788
|
-
readonly type: Schema.Literal<"text.ended">;
|
|
9092
|
+
readonly type: Schema.Literal<"session.text.ended">;
|
|
8789
9093
|
readonly durable: Schema.Struct<{
|
|
8790
9094
|
readonly aggregateID: Schema.String;
|
|
8791
9095
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8823,7 +9127,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8823
9127
|
};
|
|
8824
9128
|
}>;
|
|
8825
9129
|
}> & {
|
|
8826
|
-
type: "text.ended";
|
|
9130
|
+
type: "session.text.ended";
|
|
8827
9131
|
durability: "durable";
|
|
8828
9132
|
durable: {
|
|
8829
9133
|
readonly version: number;
|
|
@@ -8847,7 +9151,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8847
9151
|
};
|
|
8848
9152
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8849
9153
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8850
|
-
readonly type: Schema.Literal<"reasoning.started">;
|
|
9154
|
+
readonly type: Schema.Literal<"session.reasoning.started">;
|
|
8851
9155
|
readonly durable: Schema.Struct<{
|
|
8852
9156
|
readonly aggregateID: Schema.String;
|
|
8853
9157
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8885,7 +9189,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8885
9189
|
};
|
|
8886
9190
|
}>;
|
|
8887
9191
|
}> & {
|
|
8888
|
-
type: "reasoning.started";
|
|
9192
|
+
type: "session.reasoning.started";
|
|
8889
9193
|
durability: "durable";
|
|
8890
9194
|
durable: {
|
|
8891
9195
|
readonly version: number;
|
|
@@ -8909,7 +9213,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8909
9213
|
};
|
|
8910
9214
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8911
9215
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8912
|
-
readonly type: Schema.Literal<"reasoning.ended">;
|
|
9216
|
+
readonly type: Schema.Literal<"session.reasoning.ended">;
|
|
8913
9217
|
readonly durable: Schema.Struct<{
|
|
8914
9218
|
readonly aggregateID: Schema.String;
|
|
8915
9219
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8948,7 +9252,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8948
9252
|
};
|
|
8949
9253
|
}>;
|
|
8950
9254
|
}> & {
|
|
8951
|
-
type: "reasoning.ended";
|
|
9255
|
+
type: "session.reasoning.ended";
|
|
8952
9256
|
durability: "durable";
|
|
8953
9257
|
durable: {
|
|
8954
9258
|
readonly version: number;
|
|
@@ -8973,7 +9277,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
8973
9277
|
};
|
|
8974
9278
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8975
9279
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8976
|
-
readonly type: Schema.Literal<"tool.input.started">;
|
|
9280
|
+
readonly type: Schema.Literal<"session.tool.input.started">;
|
|
8977
9281
|
readonly durable: Schema.Struct<{
|
|
8978
9282
|
readonly aggregateID: Schema.String;
|
|
8979
9283
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9011,7 +9315,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9011
9315
|
};
|
|
9012
9316
|
}>;
|
|
9013
9317
|
}> & {
|
|
9014
|
-
type: "tool.input.started";
|
|
9318
|
+
type: "session.tool.input.started";
|
|
9015
9319
|
durability: "durable";
|
|
9016
9320
|
durable: {
|
|
9017
9321
|
readonly version: number;
|
|
@@ -9035,7 +9339,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9035
9339
|
};
|
|
9036
9340
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9037
9341
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9038
|
-
readonly type: Schema.Literal<"tool.input.ended">;
|
|
9342
|
+
readonly type: Schema.Literal<"session.tool.input.ended">;
|
|
9039
9343
|
readonly durable: Schema.Struct<{
|
|
9040
9344
|
readonly aggregateID: Schema.String;
|
|
9041
9345
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9073,7 +9377,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9073
9377
|
};
|
|
9074
9378
|
}>;
|
|
9075
9379
|
}> & {
|
|
9076
|
-
type: "tool.input.ended";
|
|
9380
|
+
type: "session.tool.input.ended";
|
|
9077
9381
|
durability: "durable";
|
|
9078
9382
|
durable: {
|
|
9079
9383
|
readonly version: number;
|
|
@@ -9097,7 +9401,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9097
9401
|
};
|
|
9098
9402
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9099
9403
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9100
|
-
readonly type: Schema.Literal<"tool.called">;
|
|
9404
|
+
readonly type: Schema.Literal<"session.tool.called">;
|
|
9101
9405
|
readonly durable: Schema.Struct<{
|
|
9102
9406
|
readonly aggregateID: Schema.String;
|
|
9103
9407
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9140,7 +9444,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9140
9444
|
};
|
|
9141
9445
|
}>;
|
|
9142
9446
|
}> & {
|
|
9143
|
-
type: "tool.called";
|
|
9447
|
+
type: "session.tool.called";
|
|
9144
9448
|
durability: "durable";
|
|
9145
9449
|
durable: {
|
|
9146
9450
|
readonly version: number;
|
|
@@ -9169,7 +9473,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9169
9473
|
};
|
|
9170
9474
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9171
9475
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9172
|
-
readonly type: Schema.Literal<"tool.progress">;
|
|
9476
|
+
readonly type: Schema.Literal<"session.tool.progress">;
|
|
9173
9477
|
readonly durable: Schema.Struct<{
|
|
9174
9478
|
readonly aggregateID: Schema.String;
|
|
9175
9479
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9216,7 +9520,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9216
9520
|
};
|
|
9217
9521
|
}>;
|
|
9218
9522
|
}> & {
|
|
9219
|
-
type: "tool.progress";
|
|
9523
|
+
type: "session.tool.progress";
|
|
9220
9524
|
durability: "durable";
|
|
9221
9525
|
durable: {
|
|
9222
9526
|
readonly version: number;
|
|
@@ -9249,7 +9553,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9249
9553
|
};
|
|
9250
9554
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9251
9555
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9252
|
-
readonly type: Schema.Literal<"tool.success">;
|
|
9556
|
+
readonly type: Schema.Literal<"session.tool.success">;
|
|
9253
9557
|
readonly durable: Schema.Struct<{
|
|
9254
9558
|
readonly aggregateID: Schema.String;
|
|
9255
9559
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9302,7 +9606,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9302
9606
|
};
|
|
9303
9607
|
}>;
|
|
9304
9608
|
}> & {
|
|
9305
|
-
type: "tool.success";
|
|
9609
|
+
type: "session.tool.success";
|
|
9306
9610
|
durability: "durable";
|
|
9307
9611
|
durable: {
|
|
9308
9612
|
readonly version: number;
|
|
@@ -9341,7 +9645,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9341
9645
|
};
|
|
9342
9646
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9343
9647
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9344
|
-
readonly type: Schema.Literal<"tool.failed">;
|
|
9648
|
+
readonly type: Schema.Literal<"session.tool.failed">;
|
|
9345
9649
|
readonly durable: Schema.Struct<{
|
|
9346
9650
|
readonly aggregateID: Schema.String;
|
|
9347
9651
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9387,7 +9691,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9387
9691
|
};
|
|
9388
9692
|
}>;
|
|
9389
9693
|
}> & {
|
|
9390
|
-
type: "tool.failed";
|
|
9694
|
+
type: "session.tool.failed";
|
|
9391
9695
|
durability: "durable";
|
|
9392
9696
|
durable: {
|
|
9393
9697
|
readonly version: number;
|
|
@@ -9419,7 +9723,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9419
9723
|
};
|
|
9420
9724
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9421
9725
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9422
|
-
readonly type: Schema.Literal<"retried">;
|
|
9726
|
+
readonly type: Schema.Literal<"session.retried">;
|
|
9423
9727
|
readonly durable: Schema.Struct<{
|
|
9424
9728
|
readonly aggregateID: Schema.String;
|
|
9425
9729
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9460,7 +9764,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9460
9764
|
};
|
|
9461
9765
|
}>;
|
|
9462
9766
|
}> & {
|
|
9463
|
-
type: "retried";
|
|
9767
|
+
type: "session.retried";
|
|
9464
9768
|
durability: "durable";
|
|
9465
9769
|
durable: {
|
|
9466
9770
|
readonly version: number;
|
|
@@ -9487,7 +9791,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9487
9791
|
};
|
|
9488
9792
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9489
9793
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9490
|
-
readonly type: Schema.Literal<"compaction.started">;
|
|
9794
|
+
readonly type: Schema.Literal<"session.compaction.started">;
|
|
9491
9795
|
readonly durable: Schema.Struct<{
|
|
9492
9796
|
readonly aggregateID: Schema.String;
|
|
9493
9797
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9520,7 +9824,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9520
9824
|
};
|
|
9521
9825
|
}>;
|
|
9522
9826
|
}> & {
|
|
9523
|
-
type: "compaction.started";
|
|
9827
|
+
type: "session.compaction.started";
|
|
9524
9828
|
durability: "durable";
|
|
9525
9829
|
durable: {
|
|
9526
9830
|
readonly version: number;
|
|
@@ -9539,7 +9843,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9539
9843
|
};
|
|
9540
9844
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9541
9845
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9542
|
-
readonly type: Schema.Literal<"compaction.ended">;
|
|
9846
|
+
readonly type: Schema.Literal<"session.compaction.ended">;
|
|
9543
9847
|
readonly durable: Schema.Struct<{
|
|
9544
9848
|
readonly aggregateID: Schema.String;
|
|
9545
9849
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9574,7 +9878,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9574
9878
|
};
|
|
9575
9879
|
}>;
|
|
9576
9880
|
}> & {
|
|
9577
|
-
type: "compaction.ended";
|
|
9881
|
+
type: "session.compaction.ended";
|
|
9578
9882
|
durability: "durable";
|
|
9579
9883
|
durable: {
|
|
9580
9884
|
readonly version: number;
|
|
@@ -9595,7 +9899,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9595
9899
|
};
|
|
9596
9900
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9597
9901
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9598
|
-
readonly type: Schema.Literal<"revert.staged">;
|
|
9902
|
+
readonly type: Schema.Literal<"session.revert.staged">;
|
|
9599
9903
|
readonly durable: Schema.Struct<{
|
|
9600
9904
|
readonly aggregateID: Schema.String;
|
|
9601
9905
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9649,7 +9953,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9649
9953
|
};
|
|
9650
9954
|
}>;
|
|
9651
9955
|
}> & {
|
|
9652
|
-
type: "revert.staged";
|
|
9956
|
+
type: "session.revert.staged";
|
|
9653
9957
|
durability: "durable";
|
|
9654
9958
|
durable: {
|
|
9655
9959
|
readonly version: number;
|
|
@@ -9689,7 +9993,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9689
9993
|
};
|
|
9690
9994
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9691
9995
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9692
|
-
readonly type: Schema.Literal<"revert.cleared">;
|
|
9996
|
+
readonly type: Schema.Literal<"session.revert.cleared">;
|
|
9693
9997
|
readonly durable: Schema.Struct<{
|
|
9694
9998
|
readonly aggregateID: Schema.String;
|
|
9695
9999
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9721,7 +10025,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9721
10025
|
};
|
|
9722
10026
|
}>;
|
|
9723
10027
|
}> & {
|
|
9724
|
-
type: "revert.cleared";
|
|
10028
|
+
type: "session.revert.cleared";
|
|
9725
10029
|
durability: "durable";
|
|
9726
10030
|
durable: {
|
|
9727
10031
|
readonly version: number;
|
|
@@ -9739,7 +10043,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9739
10043
|
};
|
|
9740
10044
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9741
10045
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9742
|
-
readonly type: Schema.Literal<"revert.committed">;
|
|
10046
|
+
readonly type: Schema.Literal<"session.revert.committed">;
|
|
9743
10047
|
readonly durable: Schema.Struct<{
|
|
9744
10048
|
readonly aggregateID: Schema.String;
|
|
9745
10049
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9775,7 +10079,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9775
10079
|
};
|
|
9776
10080
|
}>;
|
|
9777
10081
|
}> & {
|
|
9778
|
-
type: "revert.committed";
|
|
10082
|
+
type: "session.revert.committed";
|
|
9779
10083
|
durability: "durable";
|
|
9780
10084
|
durable: {
|
|
9781
10085
|
readonly version: number;
|
|
@@ -9799,7 +10103,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
9799
10103
|
};
|
|
9800
10104
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9801
10105
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9802
|
-
readonly type: Schema.Literal<"agent.selected">;
|
|
10106
|
+
readonly type: Schema.Literal<"session.agent.selected">;
|
|
9803
10107
|
readonly durable: Schema.Struct<{
|
|
9804
10108
|
readonly aggregateID: Schema.String;
|
|
9805
10109
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9832,7 +10136,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
9832
10136
|
};
|
|
9833
10137
|
}>;
|
|
9834
10138
|
}> & {
|
|
9835
|
-
type: "agent.selected";
|
|
10139
|
+
type: "session.agent.selected";
|
|
9836
10140
|
durability: "durable";
|
|
9837
10141
|
durable: {
|
|
9838
10142
|
readonly version: number;
|
|
@@ -9851,7 +10155,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
9851
10155
|
};
|
|
9852
10156
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9853
10157
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9854
|
-
readonly type: Schema.Literal<"model.selected">;
|
|
10158
|
+
readonly type: Schema.Literal<"session.model.selected">;
|
|
9855
10159
|
readonly durable: Schema.Struct<{
|
|
9856
10160
|
readonly aggregateID: Schema.String;
|
|
9857
10161
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9900,7 +10204,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
9900
10204
|
};
|
|
9901
10205
|
}>;
|
|
9902
10206
|
}> & {
|
|
9903
|
-
type: "model.selected";
|
|
10207
|
+
type: "session.model.selected";
|
|
9904
10208
|
durability: "durable";
|
|
9905
10209
|
durable: {
|
|
9906
10210
|
readonly version: number;
|
|
@@ -10007,7 +10311,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10007
10311
|
};
|
|
10008
10312
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10009
10313
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10010
|
-
readonly type: Schema.Literal<"renamed">;
|
|
10314
|
+
readonly type: Schema.Literal<"session.renamed">;
|
|
10011
10315
|
readonly durable: Schema.Struct<{
|
|
10012
10316
|
readonly aggregateID: Schema.String;
|
|
10013
10317
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10040,7 +10344,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10040
10344
|
};
|
|
10041
10345
|
}>;
|
|
10042
10346
|
}> & {
|
|
10043
|
-
type: "renamed";
|
|
10347
|
+
type: "session.renamed";
|
|
10044
10348
|
durability: "durable";
|
|
10045
10349
|
durable: {
|
|
10046
10350
|
readonly version: number;
|
|
@@ -10059,7 +10363,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10059
10363
|
};
|
|
10060
10364
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10061
10365
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10062
|
-
readonly type: Schema.Literal<"forked">;
|
|
10366
|
+
readonly type: Schema.Literal<"session.forked">;
|
|
10063
10367
|
readonly durable: Schema.Struct<{
|
|
10064
10368
|
readonly aggregateID: Schema.String;
|
|
10065
10369
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10102,7 +10406,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10102
10406
|
};
|
|
10103
10407
|
}>;
|
|
10104
10408
|
}> & {
|
|
10105
|
-
type: "forked";
|
|
10409
|
+
type: "session.forked";
|
|
10106
10410
|
durability: "durable";
|
|
10107
10411
|
durable: {
|
|
10108
10412
|
readonly version: number;
|
|
@@ -10131,7 +10435,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10131
10435
|
};
|
|
10132
10436
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10133
10437
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10134
|
-
readonly type: Schema.Literal<"prompt.promoted">;
|
|
10438
|
+
readonly type: Schema.Literal<"session.prompt.promoted">;
|
|
10135
10439
|
readonly durable: Schema.Struct<{
|
|
10136
10440
|
readonly aggregateID: Schema.String;
|
|
10137
10441
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10167,7 +10471,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10167
10471
|
};
|
|
10168
10472
|
}>;
|
|
10169
10473
|
}> & {
|
|
10170
|
-
type: "prompt.promoted";
|
|
10474
|
+
type: "session.prompt.promoted";
|
|
10171
10475
|
durability: "durable";
|
|
10172
10476
|
durable: {
|
|
10173
10477
|
readonly version: number;
|
|
@@ -10189,7 +10493,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10189
10493
|
};
|
|
10190
10494
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10191
10495
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10192
|
-
readonly type: Schema.Literal<"prompt.admitted">;
|
|
10496
|
+
readonly type: Schema.Literal<"session.prompt.admitted">;
|
|
10193
10497
|
readonly durable: Schema.Struct<{
|
|
10194
10498
|
readonly aggregateID: Schema.String;
|
|
10195
10499
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10350,7 +10654,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10350
10654
|
};
|
|
10351
10655
|
}>;
|
|
10352
10656
|
}> & {
|
|
10353
|
-
type: "prompt.admitted";
|
|
10657
|
+
type: "session.prompt.admitted";
|
|
10354
10658
|
durability: "durable";
|
|
10355
10659
|
durable: {
|
|
10356
10660
|
readonly version: number;
|
|
@@ -10497,7 +10801,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10497
10801
|
};
|
|
10498
10802
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10499
10803
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10500
|
-
readonly type: Schema.Literal<"execution.settled">;
|
|
10804
|
+
readonly type: Schema.Literal<"session.execution.settled">;
|
|
10501
10805
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10502
10806
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10503
10807
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -10532,7 +10836,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10532
10836
|
};
|
|
10533
10837
|
}>;
|
|
10534
10838
|
}> & {
|
|
10535
|
-
type: "execution.settled";
|
|
10839
|
+
type: "session.execution.settled";
|
|
10536
10840
|
durability: "ephemeral";
|
|
10537
10841
|
durable: undefined;
|
|
10538
10842
|
data: Schema.Struct<{
|
|
@@ -10607,7 +10911,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10607
10911
|
};
|
|
10608
10912
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10609
10913
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10610
|
-
readonly type: Schema.Literal<"synthetic">;
|
|
10914
|
+
readonly type: Schema.Literal<"session.synthetic">;
|
|
10611
10915
|
readonly durable: Schema.Struct<{
|
|
10612
10916
|
readonly aggregateID: Schema.String;
|
|
10613
10917
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10642,7 +10946,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10642
10946
|
};
|
|
10643
10947
|
}>;
|
|
10644
10948
|
}> & {
|
|
10645
|
-
type: "synthetic";
|
|
10949
|
+
type: "session.synthetic";
|
|
10646
10950
|
durability: "durable";
|
|
10647
10951
|
durable: {
|
|
10648
10952
|
readonly version: number;
|
|
@@ -10663,7 +10967,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10663
10967
|
};
|
|
10664
10968
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10665
10969
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10666
|
-
readonly type: Schema.Literal<"skill.activated">;
|
|
10970
|
+
readonly type: Schema.Literal<"session.skill.activated">;
|
|
10667
10971
|
readonly durable: Schema.Struct<{
|
|
10668
10972
|
readonly aggregateID: Schema.String;
|
|
10669
10973
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10697,7 +11001,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10697
11001
|
};
|
|
10698
11002
|
}>;
|
|
10699
11003
|
}> & {
|
|
10700
|
-
type: "skill.activated";
|
|
11004
|
+
type: "session.skill.activated";
|
|
10701
11005
|
durability: "durable";
|
|
10702
11006
|
durable: {
|
|
10703
11007
|
readonly version: number;
|
|
@@ -10717,7 +11021,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10717
11021
|
};
|
|
10718
11022
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10719
11023
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10720
|
-
readonly type: Schema.Literal<"shell.started">;
|
|
11024
|
+
readonly type: Schema.Literal<"session.shell.started">;
|
|
10721
11025
|
readonly durable: Schema.Struct<{
|
|
10722
11026
|
readonly aggregateID: Schema.String;
|
|
10723
11027
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10743,23 +11047,55 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10743
11047
|
}>, never, never>;
|
|
10744
11048
|
}>>, never, never>;
|
|
10745
11049
|
readonly data: Schema.Struct<{
|
|
10746
|
-
readonly
|
|
10747
|
-
|
|
11050
|
+
readonly shell: Schema.Struct<{
|
|
11051
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
11052
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
11053
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
11054
|
+
};
|
|
11055
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
11056
|
+
readonly command: Schema.String;
|
|
11057
|
+
readonly cwd: Schema.String;
|
|
11058
|
+
readonly shell: Schema.String;
|
|
11059
|
+
readonly file: Schema.String;
|
|
11060
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11061
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11062
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11063
|
+
readonly time: Schema.Struct<{
|
|
11064
|
+
readonly started: Schema.Number;
|
|
11065
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11066
|
+
}>;
|
|
11067
|
+
}>;
|
|
10748
11068
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10749
11069
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10750
11070
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10751
11071
|
};
|
|
10752
11072
|
}>;
|
|
10753
11073
|
}> & {
|
|
10754
|
-
type: "shell.started";
|
|
11074
|
+
type: "session.shell.started";
|
|
10755
11075
|
durability: "durable";
|
|
10756
11076
|
durable: {
|
|
10757
11077
|
readonly version: number;
|
|
10758
11078
|
readonly aggregate: string;
|
|
10759
11079
|
};
|
|
10760
11080
|
data: Schema.Struct<{
|
|
10761
|
-
readonly
|
|
10762
|
-
|
|
11081
|
+
readonly shell: Schema.Struct<{
|
|
11082
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
11083
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
11084
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
11085
|
+
};
|
|
11086
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
11087
|
+
readonly command: Schema.String;
|
|
11088
|
+
readonly cwd: Schema.String;
|
|
11089
|
+
readonly shell: Schema.String;
|
|
11090
|
+
readonly file: Schema.String;
|
|
11091
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11092
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11093
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11094
|
+
readonly time: Schema.Struct<{
|
|
11095
|
+
readonly started: Schema.Number;
|
|
11096
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11097
|
+
}>;
|
|
11098
|
+
}>;
|
|
10763
11099
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10764
11100
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10765
11101
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10771,7 +11107,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10771
11107
|
};
|
|
10772
11108
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10773
11109
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10774
|
-
readonly type: Schema.Literal<"shell.ended">;
|
|
11110
|
+
readonly type: Schema.Literal<"session.shell.ended">;
|
|
10775
11111
|
readonly durable: Schema.Struct<{
|
|
10776
11112
|
readonly aggregateID: Schema.String;
|
|
10777
11113
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10797,23 +11133,67 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10797
11133
|
}>, never, never>;
|
|
10798
11134
|
}>>, never, never>;
|
|
10799
11135
|
readonly data: Schema.Struct<{
|
|
10800
|
-
readonly
|
|
10801
|
-
|
|
11136
|
+
readonly shell: Schema.Struct<{
|
|
11137
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
11138
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
11139
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
11140
|
+
};
|
|
11141
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
11142
|
+
readonly command: Schema.String;
|
|
11143
|
+
readonly cwd: Schema.String;
|
|
11144
|
+
readonly shell: Schema.String;
|
|
11145
|
+
readonly file: Schema.String;
|
|
11146
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11147
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11148
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11149
|
+
readonly time: Schema.Struct<{
|
|
11150
|
+
readonly started: Schema.Number;
|
|
11151
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11152
|
+
}>;
|
|
11153
|
+
}>;
|
|
11154
|
+
readonly output: Schema.Struct<{
|
|
11155
|
+
readonly output: Schema.String;
|
|
11156
|
+
readonly cursor: Schema.Int;
|
|
11157
|
+
readonly size: Schema.Int;
|
|
11158
|
+
readonly truncated: Schema.Boolean;
|
|
11159
|
+
}>;
|
|
10802
11160
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10803
11161
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10804
11162
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10805
11163
|
};
|
|
10806
11164
|
}>;
|
|
10807
11165
|
}> & {
|
|
10808
|
-
type: "shell.ended";
|
|
11166
|
+
type: "session.shell.ended";
|
|
10809
11167
|
durability: "durable";
|
|
10810
11168
|
durable: {
|
|
10811
11169
|
readonly version: number;
|
|
10812
11170
|
readonly aggregate: string;
|
|
10813
11171
|
};
|
|
10814
11172
|
data: Schema.Struct<{
|
|
10815
|
-
readonly
|
|
10816
|
-
|
|
11173
|
+
readonly shell: Schema.Struct<{
|
|
11174
|
+
readonly id: Schema.brand<Schema.String, "ShellID"> & {
|
|
11175
|
+
create: () => string & import("effect/Brand").Brand<"ShellID">;
|
|
11176
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
|
|
11177
|
+
};
|
|
11178
|
+
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
11179
|
+
readonly command: Schema.String;
|
|
11180
|
+
readonly cwd: Schema.String;
|
|
11181
|
+
readonly shell: Schema.String;
|
|
11182
|
+
readonly file: Schema.String;
|
|
11183
|
+
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11184
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11185
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11186
|
+
readonly time: Schema.Struct<{
|
|
11187
|
+
readonly started: Schema.Number;
|
|
11188
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
11189
|
+
}>;
|
|
11190
|
+
}>;
|
|
11191
|
+
readonly output: Schema.Struct<{
|
|
11192
|
+
readonly output: Schema.String;
|
|
11193
|
+
readonly cursor: Schema.Int;
|
|
11194
|
+
readonly size: Schema.Int;
|
|
11195
|
+
readonly truncated: Schema.Boolean;
|
|
11196
|
+
}>;
|
|
10817
11197
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10818
11198
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10819
11199
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10825,7 +11205,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10825
11205
|
};
|
|
10826
11206
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10827
11207
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10828
|
-
readonly type: Schema.Literal<"step.started">;
|
|
11208
|
+
readonly type: Schema.Literal<"session.step.started">;
|
|
10829
11209
|
readonly durable: Schema.Struct<{
|
|
10830
11210
|
readonly aggregateID: Schema.String;
|
|
10831
11211
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10880,7 +11260,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10880
11260
|
};
|
|
10881
11261
|
}>;
|
|
10882
11262
|
}> & {
|
|
10883
|
-
type: "step.started";
|
|
11263
|
+
type: "session.step.started";
|
|
10884
11264
|
durability: "durable";
|
|
10885
11265
|
durable: {
|
|
10886
11266
|
readonly version: number;
|
|
@@ -10921,7 +11301,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10921
11301
|
};
|
|
10922
11302
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10923
11303
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10924
|
-
readonly type: Schema.Literal<"step.ended">;
|
|
11304
|
+
readonly type: Schema.Literal<"session.step.ended">;
|
|
10925
11305
|
readonly durable: Schema.Struct<{
|
|
10926
11306
|
readonly aggregateID: Schema.String;
|
|
10927
11307
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -10970,7 +11350,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
10970
11350
|
};
|
|
10971
11351
|
}>;
|
|
10972
11352
|
}> & {
|
|
10973
|
-
type: "step.ended";
|
|
11353
|
+
type: "session.step.ended";
|
|
10974
11354
|
durability: "durable";
|
|
10975
11355
|
durable: {
|
|
10976
11356
|
readonly version: number;
|
|
@@ -11005,7 +11385,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11005
11385
|
};
|
|
11006
11386
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11007
11387
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11008
|
-
readonly type: Schema.Literal<"step.failed">;
|
|
11388
|
+
readonly type: Schema.Literal<"session.step.failed">;
|
|
11009
11389
|
readonly durable: Schema.Struct<{
|
|
11010
11390
|
readonly aggregateID: Schema.String;
|
|
11011
11391
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11045,7 +11425,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11045
11425
|
};
|
|
11046
11426
|
}>;
|
|
11047
11427
|
}> & {
|
|
11048
|
-
type: "step.failed";
|
|
11428
|
+
type: "session.step.failed";
|
|
11049
11429
|
durability: "durable";
|
|
11050
11430
|
durable: {
|
|
11051
11431
|
readonly version: number;
|
|
@@ -11071,7 +11451,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11071
11451
|
};
|
|
11072
11452
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11073
11453
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11074
|
-
readonly type: Schema.Literal<"text.started">;
|
|
11454
|
+
readonly type: Schema.Literal<"session.text.started">;
|
|
11075
11455
|
readonly durable: Schema.Struct<{
|
|
11076
11456
|
readonly aggregateID: Schema.String;
|
|
11077
11457
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11108,7 +11488,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11108
11488
|
};
|
|
11109
11489
|
}>;
|
|
11110
11490
|
}> & {
|
|
11111
|
-
type: "text.started";
|
|
11491
|
+
type: "session.text.started";
|
|
11112
11492
|
durability: "durable";
|
|
11113
11493
|
durable: {
|
|
11114
11494
|
readonly version: number;
|
|
@@ -11131,7 +11511,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11131
11511
|
};
|
|
11132
11512
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11133
11513
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11134
|
-
readonly type: Schema.Literal<"text.delta">;
|
|
11514
|
+
readonly type: Schema.Literal<"session.text.delta">;
|
|
11135
11515
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11136
11516
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11137
11517
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -11164,7 +11544,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11164
11544
|
};
|
|
11165
11545
|
}>;
|
|
11166
11546
|
}> & {
|
|
11167
|
-
type: "text.delta";
|
|
11547
|
+
type: "session.text.delta";
|
|
11168
11548
|
durability: "ephemeral";
|
|
11169
11549
|
durable: undefined;
|
|
11170
11550
|
data: Schema.Struct<{
|
|
@@ -11185,7 +11565,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11185
11565
|
};
|
|
11186
11566
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11187
11567
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11188
|
-
readonly type: Schema.Literal<"text.ended">;
|
|
11568
|
+
readonly type: Schema.Literal<"session.text.ended">;
|
|
11189
11569
|
readonly durable: Schema.Struct<{
|
|
11190
11570
|
readonly aggregateID: Schema.String;
|
|
11191
11571
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11223,7 +11603,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11223
11603
|
};
|
|
11224
11604
|
}>;
|
|
11225
11605
|
}> & {
|
|
11226
|
-
type: "text.ended";
|
|
11606
|
+
type: "session.text.ended";
|
|
11227
11607
|
durability: "durable";
|
|
11228
11608
|
durable: {
|
|
11229
11609
|
readonly version: number;
|
|
@@ -11247,7 +11627,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11247
11627
|
};
|
|
11248
11628
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11249
11629
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11250
|
-
readonly type: Schema.Literal<"reasoning.started">;
|
|
11630
|
+
readonly type: Schema.Literal<"session.reasoning.started">;
|
|
11251
11631
|
readonly durable: Schema.Struct<{
|
|
11252
11632
|
readonly aggregateID: Schema.String;
|
|
11253
11633
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11285,7 +11665,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11285
11665
|
};
|
|
11286
11666
|
}>;
|
|
11287
11667
|
}> & {
|
|
11288
|
-
type: "reasoning.started";
|
|
11668
|
+
type: "session.reasoning.started";
|
|
11289
11669
|
durability: "durable";
|
|
11290
11670
|
durable: {
|
|
11291
11671
|
readonly version: number;
|
|
@@ -11309,7 +11689,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11309
11689
|
};
|
|
11310
11690
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11311
11691
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11312
|
-
readonly type: Schema.Literal<"reasoning.delta">;
|
|
11692
|
+
readonly type: Schema.Literal<"session.reasoning.delta">;
|
|
11313
11693
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11314
11694
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11315
11695
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -11342,7 +11722,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11342
11722
|
};
|
|
11343
11723
|
}>;
|
|
11344
11724
|
}> & {
|
|
11345
|
-
type: "reasoning.delta";
|
|
11725
|
+
type: "session.reasoning.delta";
|
|
11346
11726
|
durability: "ephemeral";
|
|
11347
11727
|
durable: undefined;
|
|
11348
11728
|
data: Schema.Struct<{
|
|
@@ -11363,7 +11743,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11363
11743
|
};
|
|
11364
11744
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11365
11745
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11366
|
-
readonly type: Schema.Literal<"reasoning.ended">;
|
|
11746
|
+
readonly type: Schema.Literal<"session.reasoning.ended">;
|
|
11367
11747
|
readonly durable: Schema.Struct<{
|
|
11368
11748
|
readonly aggregateID: Schema.String;
|
|
11369
11749
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11402,7 +11782,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11402
11782
|
};
|
|
11403
11783
|
}>;
|
|
11404
11784
|
}> & {
|
|
11405
|
-
type: "reasoning.ended";
|
|
11785
|
+
type: "session.reasoning.ended";
|
|
11406
11786
|
durability: "durable";
|
|
11407
11787
|
durable: {
|
|
11408
11788
|
readonly version: number;
|
|
@@ -11427,7 +11807,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11427
11807
|
};
|
|
11428
11808
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11429
11809
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11430
|
-
readonly type: Schema.Literal<"tool.input.started">;
|
|
11810
|
+
readonly type: Schema.Literal<"session.tool.input.started">;
|
|
11431
11811
|
readonly durable: Schema.Struct<{
|
|
11432
11812
|
readonly aggregateID: Schema.String;
|
|
11433
11813
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11465,7 +11845,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11465
11845
|
};
|
|
11466
11846
|
}>;
|
|
11467
11847
|
}> & {
|
|
11468
|
-
type: "tool.input.started";
|
|
11848
|
+
type: "session.tool.input.started";
|
|
11469
11849
|
durability: "durable";
|
|
11470
11850
|
durable: {
|
|
11471
11851
|
readonly version: number;
|
|
@@ -11489,7 +11869,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11489
11869
|
};
|
|
11490
11870
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11491
11871
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11492
|
-
readonly type: Schema.Literal<"tool.input.delta">;
|
|
11872
|
+
readonly type: Schema.Literal<"session.tool.input.delta">;
|
|
11493
11873
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11494
11874
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11495
11875
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -11522,7 +11902,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11522
11902
|
};
|
|
11523
11903
|
}>;
|
|
11524
11904
|
}> & {
|
|
11525
|
-
type: "tool.input.delta";
|
|
11905
|
+
type: "session.tool.input.delta";
|
|
11526
11906
|
durability: "ephemeral";
|
|
11527
11907
|
durable: undefined;
|
|
11528
11908
|
data: Schema.Struct<{
|
|
@@ -11543,7 +11923,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11543
11923
|
};
|
|
11544
11924
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11545
11925
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11546
|
-
readonly type: Schema.Literal<"tool.input.ended">;
|
|
11926
|
+
readonly type: Schema.Literal<"session.tool.input.ended">;
|
|
11547
11927
|
readonly durable: Schema.Struct<{
|
|
11548
11928
|
readonly aggregateID: Schema.String;
|
|
11549
11929
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11581,7 +11961,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11581
11961
|
};
|
|
11582
11962
|
}>;
|
|
11583
11963
|
}> & {
|
|
11584
|
-
type: "tool.input.ended";
|
|
11964
|
+
type: "session.tool.input.ended";
|
|
11585
11965
|
durability: "durable";
|
|
11586
11966
|
durable: {
|
|
11587
11967
|
readonly version: number;
|
|
@@ -11605,7 +11985,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11605
11985
|
};
|
|
11606
11986
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11607
11987
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11608
|
-
readonly type: Schema.Literal<"tool.called">;
|
|
11988
|
+
readonly type: Schema.Literal<"session.tool.called">;
|
|
11609
11989
|
readonly durable: Schema.Struct<{
|
|
11610
11990
|
readonly aggregateID: Schema.String;
|
|
11611
11991
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11648,7 +12028,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11648
12028
|
};
|
|
11649
12029
|
}>;
|
|
11650
12030
|
}> & {
|
|
11651
|
-
type: "tool.called";
|
|
12031
|
+
type: "session.tool.called";
|
|
11652
12032
|
durability: "durable";
|
|
11653
12033
|
durable: {
|
|
11654
12034
|
readonly version: number;
|
|
@@ -11677,7 +12057,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11677
12057
|
};
|
|
11678
12058
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11679
12059
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11680
|
-
readonly type: Schema.Literal<"tool.progress">;
|
|
12060
|
+
readonly type: Schema.Literal<"session.tool.progress">;
|
|
11681
12061
|
readonly durable: Schema.Struct<{
|
|
11682
12062
|
readonly aggregateID: Schema.String;
|
|
11683
12063
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11724,7 +12104,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11724
12104
|
};
|
|
11725
12105
|
}>;
|
|
11726
12106
|
}> & {
|
|
11727
|
-
type: "tool.progress";
|
|
12107
|
+
type: "session.tool.progress";
|
|
11728
12108
|
durability: "durable";
|
|
11729
12109
|
durable: {
|
|
11730
12110
|
readonly version: number;
|
|
@@ -11757,7 +12137,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11757
12137
|
};
|
|
11758
12138
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11759
12139
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11760
|
-
readonly type: Schema.Literal<"tool.success">;
|
|
12140
|
+
readonly type: Schema.Literal<"session.tool.success">;
|
|
11761
12141
|
readonly durable: Schema.Struct<{
|
|
11762
12142
|
readonly aggregateID: Schema.String;
|
|
11763
12143
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11810,7 +12190,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11810
12190
|
};
|
|
11811
12191
|
}>;
|
|
11812
12192
|
}> & {
|
|
11813
|
-
type: "tool.success";
|
|
12193
|
+
type: "session.tool.success";
|
|
11814
12194
|
durability: "durable";
|
|
11815
12195
|
durable: {
|
|
11816
12196
|
readonly version: number;
|
|
@@ -11849,7 +12229,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11849
12229
|
};
|
|
11850
12230
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11851
12231
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11852
|
-
readonly type: Schema.Literal<"tool.failed">;
|
|
12232
|
+
readonly type: Schema.Literal<"session.tool.failed">;
|
|
11853
12233
|
readonly durable: Schema.Struct<{
|
|
11854
12234
|
readonly aggregateID: Schema.String;
|
|
11855
12235
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11895,7 +12275,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11895
12275
|
};
|
|
11896
12276
|
}>;
|
|
11897
12277
|
}> & {
|
|
11898
|
-
type: "tool.failed";
|
|
12278
|
+
type: "session.tool.failed";
|
|
11899
12279
|
durability: "durable";
|
|
11900
12280
|
durable: {
|
|
11901
12281
|
readonly version: number;
|
|
@@ -11927,7 +12307,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11927
12307
|
};
|
|
11928
12308
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11929
12309
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11930
|
-
readonly type: Schema.Literal<"retried">;
|
|
12310
|
+
readonly type: Schema.Literal<"session.retried">;
|
|
11931
12311
|
readonly durable: Schema.Struct<{
|
|
11932
12312
|
readonly aggregateID: Schema.String;
|
|
11933
12313
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11968,7 +12348,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11968
12348
|
};
|
|
11969
12349
|
}>;
|
|
11970
12350
|
}> & {
|
|
11971
|
-
type: "retried";
|
|
12351
|
+
type: "session.retried";
|
|
11972
12352
|
durability: "durable";
|
|
11973
12353
|
durable: {
|
|
11974
12354
|
readonly version: number;
|
|
@@ -11995,7 +12375,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
11995
12375
|
};
|
|
11996
12376
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11997
12377
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11998
|
-
readonly type: Schema.Literal<"compaction.started">;
|
|
12378
|
+
readonly type: Schema.Literal<"session.compaction.started">;
|
|
11999
12379
|
readonly durable: Schema.Struct<{
|
|
12000
12380
|
readonly aggregateID: Schema.String;
|
|
12001
12381
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12028,7 +12408,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12028
12408
|
};
|
|
12029
12409
|
}>;
|
|
12030
12410
|
}> & {
|
|
12031
|
-
type: "compaction.started";
|
|
12411
|
+
type: "session.compaction.started";
|
|
12032
12412
|
durability: "durable";
|
|
12033
12413
|
durable: {
|
|
12034
12414
|
readonly version: number;
|
|
@@ -12047,7 +12427,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12047
12427
|
};
|
|
12048
12428
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12049
12429
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12050
|
-
readonly type: Schema.Literal<"compaction.delta">;
|
|
12430
|
+
readonly type: Schema.Literal<"session.compaction.delta">;
|
|
12051
12431
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12052
12432
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
12053
12433
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -12075,7 +12455,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12075
12455
|
};
|
|
12076
12456
|
}>;
|
|
12077
12457
|
}> & {
|
|
12078
|
-
type: "compaction.delta";
|
|
12458
|
+
type: "session.compaction.delta";
|
|
12079
12459
|
durability: "ephemeral";
|
|
12080
12460
|
durable: undefined;
|
|
12081
12461
|
data: Schema.Struct<{
|
|
@@ -12091,7 +12471,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12091
12471
|
};
|
|
12092
12472
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12093
12473
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12094
|
-
readonly type: Schema.Literal<"compaction.ended">;
|
|
12474
|
+
readonly type: Schema.Literal<"session.compaction.ended">;
|
|
12095
12475
|
readonly durable: Schema.Struct<{
|
|
12096
12476
|
readonly aggregateID: Schema.String;
|
|
12097
12477
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12126,7 +12506,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12126
12506
|
};
|
|
12127
12507
|
}>;
|
|
12128
12508
|
}> & {
|
|
12129
|
-
type: "compaction.ended";
|
|
12509
|
+
type: "session.compaction.ended";
|
|
12130
12510
|
durability: "durable";
|
|
12131
12511
|
durable: {
|
|
12132
12512
|
readonly version: number;
|
|
@@ -12147,7 +12527,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12147
12527
|
};
|
|
12148
12528
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12149
12529
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12150
|
-
readonly type: Schema.Literal<"revert.staged">;
|
|
12530
|
+
readonly type: Schema.Literal<"session.revert.staged">;
|
|
12151
12531
|
readonly durable: Schema.Struct<{
|
|
12152
12532
|
readonly aggregateID: Schema.String;
|
|
12153
12533
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12201,7 +12581,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12201
12581
|
};
|
|
12202
12582
|
}>;
|
|
12203
12583
|
}> & {
|
|
12204
|
-
type: "revert.staged";
|
|
12584
|
+
type: "session.revert.staged";
|
|
12205
12585
|
durability: "durable";
|
|
12206
12586
|
durable: {
|
|
12207
12587
|
readonly version: number;
|
|
@@ -12241,7 +12621,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12241
12621
|
};
|
|
12242
12622
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12243
12623
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12244
|
-
readonly type: Schema.Literal<"revert.cleared">;
|
|
12624
|
+
readonly type: Schema.Literal<"session.revert.cleared">;
|
|
12245
12625
|
readonly durable: Schema.Struct<{
|
|
12246
12626
|
readonly aggregateID: Schema.String;
|
|
12247
12627
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12273,7 +12653,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12273
12653
|
};
|
|
12274
12654
|
}>;
|
|
12275
12655
|
}> & {
|
|
12276
|
-
type: "revert.cleared";
|
|
12656
|
+
type: "session.revert.cleared";
|
|
12277
12657
|
durability: "durable";
|
|
12278
12658
|
durable: {
|
|
12279
12659
|
readonly version: number;
|
|
@@ -12291,7 +12671,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12291
12671
|
};
|
|
12292
12672
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12293
12673
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12294
|
-
readonly type: Schema.Literal<"revert.committed">;
|
|
12674
|
+
readonly type: Schema.Literal<"session.revert.committed">;
|
|
12295
12675
|
readonly durable: Schema.Struct<{
|
|
12296
12676
|
readonly aggregateID: Schema.String;
|
|
12297
12677
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12327,7 +12707,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12327
12707
|
};
|
|
12328
12708
|
}>;
|
|
12329
12709
|
}> & {
|
|
12330
|
-
type: "revert.committed";
|
|
12710
|
+
type: "session.revert.committed";
|
|
12331
12711
|
durability: "durable";
|
|
12332
12712
|
durable: {
|
|
12333
12713
|
readonly version: number;
|