@moxt-ai/mobius-sdk 0.0.128 → 0.0.130
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/README.md +7 -0
- package/dist/platform.d.ts +5 -0
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +13 -0
- package/dist/platform.js.map +1 -1
- package/dist/protocol/session/observability/event-log.d.ts +93 -1388
- package/dist/protocol/session/observability/event-log.d.ts.map +1 -1
- package/dist/protocol/session/observability/event-log.js +3 -10
- package/dist/protocol/session/observability/event-log.js.map +1 -1
- package/dist/protocol/session/observability/history.d.ts +4 -522
- package/dist/protocol/session/observability/history.d.ts.map +1 -1
- package/dist/protocol/session/recording/recorded-lifecycle-status.d.ts +2 -2
- package/dist/protocol/session/recording/recorded-lifecycle-status.d.ts.map +1 -1
- package/dist/protocol/session/recording/recorded-lifecycle-status.js.map +1 -1
- package/dist/protocol/transport/daemon-transport.d.ts +4 -422
- package/dist/protocol/transport/daemon-transport.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ declare const sessionPreviewHistoryPageLoadSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
26
26
|
declare const sessionHistoryPageLoadedSchema: z.ZodReadonly<z.ZodObject<{
|
|
27
27
|
events: z.ZodReadonly<z.ZodObject<{
|
|
28
28
|
events: z.ZodReadonly<z.ZodObject<{
|
|
29
|
-
events: z.ZodReadonly<z.ZodArray<z.
|
|
29
|
+
events: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
30
30
|
eventId: z.ZodString;
|
|
31
31
|
mobiusMetadata: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
32
32
|
omitted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -1074,266 +1074,7 @@ declare const sessionHistoryPageLoadedSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1074
1074
|
sessionUpdate: z.ZodLiteral<"compaction_summary_chunk">;
|
|
1075
1075
|
}, z.core.$strip>>], "sessionUpdate">;
|
|
1076
1076
|
type: z.ZodLiteral<"acp">;
|
|
1077
|
-
}, z.core.$strip
|
|
1078
|
-
eventId: z.ZodString;
|
|
1079
|
-
mobiusMetadata: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1080
|
-
omitted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1081
|
-
}, z.core.$strip>>>;
|
|
1082
|
-
recordedAt: z.ZodISODateTime;
|
|
1083
|
-
sessionGenerationId: z.ZodString;
|
|
1084
|
-
sessionId: z.ZodString;
|
|
1085
|
-
payload: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
1086
|
-
kind: z.ZodLiteral<"session.queue.changed">;
|
|
1087
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1088
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
1089
|
-
commandId: z.ZodString;
|
|
1090
|
-
details: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1091
|
-
cwd: z.ZodString;
|
|
1092
|
-
rawInput: z.ZodOptional<z.ZodUnknown>;
|
|
1093
|
-
locations: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1094
|
-
line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1095
|
-
path: z.ZodString;
|
|
1096
|
-
}, z.core.$strip>>>>;
|
|
1097
|
-
}, z.core.$strip>>>;
|
|
1098
|
-
interactionId: z.ZodString;
|
|
1099
|
-
kind: z.ZodLiteral<"session.permission.requested">;
|
|
1100
|
-
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1101
|
-
kind: z.ZodEnum<{
|
|
1102
|
-
allow_always: "allow_always";
|
|
1103
|
-
allow_once: "allow_once";
|
|
1104
|
-
reject_always: "reject_always";
|
|
1105
|
-
reject_once: "reject_once";
|
|
1106
|
-
}>;
|
|
1107
|
-
name: z.ZodString;
|
|
1108
|
-
optionId: z.ZodString;
|
|
1109
|
-
}, z.core.$strip>>>>;
|
|
1110
|
-
sessionId: z.ZodString;
|
|
1111
|
-
title: z.ZodString;
|
|
1112
|
-
toolCallId: z.ZodString;
|
|
1113
|
-
toolKind: z.ZodString;
|
|
1114
|
-
}, z.core.$strip>>;
|
|
1115
|
-
kind: z.ZodLiteral<"session.permission.requested">;
|
|
1116
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1117
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
1118
|
-
interactionId: z.ZodString;
|
|
1119
|
-
kind: z.ZodLiteral<"session.permission.resolved">;
|
|
1120
|
-
optionId: z.ZodString;
|
|
1121
|
-
outcome: z.ZodEnum<{
|
|
1122
|
-
cancelled: "cancelled";
|
|
1123
|
-
selected: "selected";
|
|
1124
|
-
}>;
|
|
1125
|
-
sessionId: z.ZodString;
|
|
1126
|
-
}, z.core.$strip>>;
|
|
1127
|
-
kind: z.ZodLiteral<"session.permission.resolved">;
|
|
1128
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1129
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
1130
|
-
accepted: z.ZodBoolean;
|
|
1131
|
-
commandId: z.ZodString;
|
|
1132
|
-
elicitationId: z.ZodString;
|
|
1133
|
-
fields: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1134
|
-
defaultBooleanValue: z.ZodBoolean;
|
|
1135
|
-
defaultNumberValue: z.ZodNumber;
|
|
1136
|
-
defaultStringValue: z.ZodString;
|
|
1137
|
-
description: z.ZodString;
|
|
1138
|
-
format: z.ZodString;
|
|
1139
|
-
hasDefaultValue: z.ZodBoolean;
|
|
1140
|
-
maximum: z.ZodString;
|
|
1141
|
-
maximumLength: z.ZodString;
|
|
1142
|
-
minimum: z.ZodString;
|
|
1143
|
-
minimumLength: z.ZodString;
|
|
1144
|
-
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
1145
|
-
name: z.ZodString;
|
|
1146
|
-
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1147
|
-
description: z.ZodString;
|
|
1148
|
-
label: z.ZodString;
|
|
1149
|
-
value: z.ZodString;
|
|
1150
|
-
}, z.core.$strip>>>>;
|
|
1151
|
-
pattern: z.ZodString;
|
|
1152
|
-
required: z.ZodBoolean;
|
|
1153
|
-
title: z.ZodString;
|
|
1154
|
-
type: z.ZodEnum<{
|
|
1155
|
-
boolean: "boolean";
|
|
1156
|
-
integer: "integer";
|
|
1157
|
-
multiselect: "multiselect";
|
|
1158
|
-
number: "number";
|
|
1159
|
-
select: "select";
|
|
1160
|
-
string: "string";
|
|
1161
|
-
}>;
|
|
1162
|
-
}, z.core.$strip>>>>;
|
|
1163
|
-
interactionId: z.ZodString;
|
|
1164
|
-
kind: z.ZodLiteral<"session.elicitation.requested">;
|
|
1165
|
-
message: z.ZodString;
|
|
1166
|
-
mode: z.ZodEnum<{
|
|
1167
|
-
form: "form";
|
|
1168
|
-
url: "url";
|
|
1169
|
-
}>;
|
|
1170
|
-
sessionId: z.ZodString;
|
|
1171
|
-
url: z.ZodString;
|
|
1172
|
-
}, z.core.$strip>>;
|
|
1173
|
-
kind: z.ZodLiteral<"session.elicitation.requested">;
|
|
1174
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1175
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
1176
|
-
action: z.ZodEnum<{
|
|
1177
|
-
accept: "accept";
|
|
1178
|
-
cancel: "cancel";
|
|
1179
|
-
complete: "complete";
|
|
1180
|
-
decline: "decline";
|
|
1181
|
-
}>;
|
|
1182
|
-
interactionId: z.ZodString;
|
|
1183
|
-
kind: z.ZodLiteral<"session.elicitation.resolved">;
|
|
1184
|
-
sessionId: z.ZodString;
|
|
1185
|
-
}, z.core.$strip>>;
|
|
1186
|
-
kind: z.ZodLiteral<"session.elicitation.resolved">;
|
|
1187
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1188
|
-
commandId: z.ZodString;
|
|
1189
|
-
content: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
1190
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1191
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1192
|
-
assistant: "assistant";
|
|
1193
|
-
user: "user";
|
|
1194
|
-
}>>>>>;
|
|
1195
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1196
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1197
|
-
}, z.core.$strip>>>>;
|
|
1198
|
-
text: z.ZodString;
|
|
1199
|
-
type: z.ZodLiteral<"text">;
|
|
1200
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1201
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1202
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1203
|
-
assistant: "assistant";
|
|
1204
|
-
user: "user";
|
|
1205
|
-
}>>>>>;
|
|
1206
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1207
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1208
|
-
}, z.core.$strip>>>>;
|
|
1209
|
-
data: z.ZodString;
|
|
1210
|
-
mimeType: z.ZodString;
|
|
1211
|
-
type: z.ZodLiteral<"image">;
|
|
1212
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1213
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1214
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1215
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1216
|
-
assistant: "assistant";
|
|
1217
|
-
user: "user";
|
|
1218
|
-
}>>>>>;
|
|
1219
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1220
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1221
|
-
}, z.core.$strip>>>>;
|
|
1222
|
-
data: z.ZodString;
|
|
1223
|
-
mimeType: z.ZodString;
|
|
1224
|
-
type: z.ZodLiteral<"audio">;
|
|
1225
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1226
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1227
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1228
|
-
assistant: "assistant";
|
|
1229
|
-
user: "user";
|
|
1230
|
-
}>>>>>;
|
|
1231
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1232
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1233
|
-
}, z.core.$strip>>>>;
|
|
1234
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1235
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1236
|
-
name: z.ZodString;
|
|
1237
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1238
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1239
|
-
type: z.ZodLiteral<"resource_link">;
|
|
1240
|
-
uri: z.ZodString;
|
|
1241
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1242
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1243
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1244
|
-
assistant: "assistant";
|
|
1245
|
-
user: "user";
|
|
1246
|
-
}>>>>>;
|
|
1247
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1248
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1249
|
-
}, z.core.$strip>>>>;
|
|
1250
|
-
resource: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1251
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1252
|
-
text: z.ZodString;
|
|
1253
|
-
uri: z.ZodString;
|
|
1254
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1255
|
-
blob: z.ZodString;
|
|
1256
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1257
|
-
uri: z.ZodString;
|
|
1258
|
-
}, z.core.$strip>>]>;
|
|
1259
|
-
type: z.ZodLiteral<"resource">;
|
|
1260
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1261
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1262
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1263
|
-
assistant: "assistant";
|
|
1264
|
-
user: "user";
|
|
1265
|
-
}>>>>>;
|
|
1266
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1267
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1268
|
-
}, z.core.$strip>>>>;
|
|
1269
|
-
byteLength: z.ZodNumber;
|
|
1270
|
-
imageKey: z.ZodString;
|
|
1271
|
-
mimeType: z.ZodString;
|
|
1272
|
-
type: z.ZodLiteral<"external_image">;
|
|
1273
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1274
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1275
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1276
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1277
|
-
assistant: "assistant";
|
|
1278
|
-
user: "user";
|
|
1279
|
-
}>>>>>;
|
|
1280
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1282
|
-
}, z.core.$strip>>>>;
|
|
1283
|
-
audioKey: z.ZodString;
|
|
1284
|
-
byteLength: z.ZodNumber;
|
|
1285
|
-
mimeType: z.ZodString;
|
|
1286
|
-
type: z.ZodLiteral<"external_audio">;
|
|
1287
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1288
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
1289
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1290
|
-
assistant: "assistant";
|
|
1291
|
-
user: "user";
|
|
1292
|
-
}>>>>>;
|
|
1293
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1294
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1295
|
-
}, z.core.$strip>>>>;
|
|
1296
|
-
byteLength: z.ZodNumber;
|
|
1297
|
-
encoding: z.ZodEnum<{
|
|
1298
|
-
binary: "binary";
|
|
1299
|
-
text: "text";
|
|
1300
|
-
}>;
|
|
1301
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1302
|
-
resourceKey: z.ZodString;
|
|
1303
|
-
type: z.ZodLiteral<"external_resource">;
|
|
1304
|
-
uri: z.ZodString;
|
|
1305
|
-
}, z.core.$strip>>], "type">>>;
|
|
1306
|
-
disposition: z.ZodOptional<z.ZodString>;
|
|
1307
|
-
kind: z.ZodLiteral<"prompt.requested">;
|
|
1308
|
-
context: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1309
|
-
agentId: z.ZodString;
|
|
1310
|
-
directoryId: z.ZodString;
|
|
1311
|
-
additionalDirectoryIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1312
|
-
}, z.core.$strip>>>;
|
|
1313
|
-
targetCommandId: z.ZodOptional<z.ZodString>;
|
|
1314
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1315
|
-
commandId: z.ZodString;
|
|
1316
|
-
attemptId: z.ZodString;
|
|
1317
|
-
epoch: z.ZodString;
|
|
1318
|
-
kind: z.ZodLiteral<"prompt.started">;
|
|
1319
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1320
|
-
commandId: z.ZodString;
|
|
1321
|
-
kind: z.ZodLiteral<"prompt.completed">;
|
|
1322
|
-
stopReason: z.ZodString;
|
|
1323
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1324
|
-
commandId: z.ZodString;
|
|
1325
|
-
code: z.ZodString;
|
|
1326
|
-
kind: z.ZodLiteral<"prompt.failed-before-start">;
|
|
1327
|
-
message: z.ZodString;
|
|
1328
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1329
|
-
commandId: z.ZodString;
|
|
1330
|
-
attemptId: z.ZodString;
|
|
1331
|
-
code: z.ZodString;
|
|
1332
|
-
kind: z.ZodLiteral<"prompt.failed">;
|
|
1333
|
-
message: z.ZodString;
|
|
1334
|
-
}, z.core.$strip>>], "kind">;
|
|
1335
|
-
type: z.ZodLiteral<"lifecycle-metadata">;
|
|
1336
|
-
}, z.core.$strip>>], "type">>>;
|
|
1077
|
+
}, z.core.$strip>>>>;
|
|
1337
1078
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1338
1079
|
sessionGenerationId: z.ZodString;
|
|
1339
1080
|
tailCursor: z.ZodString;
|
|
@@ -1471,7 +1212,7 @@ declare const sessionHistoryPageLoadedSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1471
1212
|
declare const sessionPreviewHistoryPageLoadedSchema: z.ZodReadonly<z.ZodObject<{
|
|
1472
1213
|
events: z.ZodReadonly<z.ZodObject<{
|
|
1473
1214
|
events: z.ZodReadonly<z.ZodObject<{
|
|
1474
|
-
events: z.ZodReadonly<z.ZodArray<z.
|
|
1215
|
+
events: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1475
1216
|
eventId: z.ZodString;
|
|
1476
1217
|
mobiusMetadata: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1477
1218
|
omitted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -2519,266 +2260,7 @@ declare const sessionPreviewHistoryPageLoadedSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
2519
2260
|
sessionUpdate: z.ZodLiteral<"compaction_summary_chunk">;
|
|
2520
2261
|
}, z.core.$strip>>], "sessionUpdate">;
|
|
2521
2262
|
type: z.ZodLiteral<"acp">;
|
|
2522
|
-
}, z.core.$strip
|
|
2523
|
-
eventId: z.ZodString;
|
|
2524
|
-
mobiusMetadata: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
2525
|
-
omitted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2526
|
-
}, z.core.$strip>>>;
|
|
2527
|
-
recordedAt: z.ZodISODateTime;
|
|
2528
|
-
sessionGenerationId: z.ZodString;
|
|
2529
|
-
sessionId: z.ZodString;
|
|
2530
|
-
payload: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
2531
|
-
kind: z.ZodLiteral<"session.queue.changed">;
|
|
2532
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2533
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
2534
|
-
commandId: z.ZodString;
|
|
2535
|
-
details: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
2536
|
-
cwd: z.ZodString;
|
|
2537
|
-
rawInput: z.ZodOptional<z.ZodUnknown>;
|
|
2538
|
-
locations: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2539
|
-
line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2540
|
-
path: z.ZodString;
|
|
2541
|
-
}, z.core.$strip>>>>;
|
|
2542
|
-
}, z.core.$strip>>>;
|
|
2543
|
-
interactionId: z.ZodString;
|
|
2544
|
-
kind: z.ZodLiteral<"session.permission.requested">;
|
|
2545
|
-
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2546
|
-
kind: z.ZodEnum<{
|
|
2547
|
-
allow_always: "allow_always";
|
|
2548
|
-
allow_once: "allow_once";
|
|
2549
|
-
reject_always: "reject_always";
|
|
2550
|
-
reject_once: "reject_once";
|
|
2551
|
-
}>;
|
|
2552
|
-
name: z.ZodString;
|
|
2553
|
-
optionId: z.ZodString;
|
|
2554
|
-
}, z.core.$strip>>>>;
|
|
2555
|
-
sessionId: z.ZodString;
|
|
2556
|
-
title: z.ZodString;
|
|
2557
|
-
toolCallId: z.ZodString;
|
|
2558
|
-
toolKind: z.ZodString;
|
|
2559
|
-
}, z.core.$strip>>;
|
|
2560
|
-
kind: z.ZodLiteral<"session.permission.requested">;
|
|
2561
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2562
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
2563
|
-
interactionId: z.ZodString;
|
|
2564
|
-
kind: z.ZodLiteral<"session.permission.resolved">;
|
|
2565
|
-
optionId: z.ZodString;
|
|
2566
|
-
outcome: z.ZodEnum<{
|
|
2567
|
-
cancelled: "cancelled";
|
|
2568
|
-
selected: "selected";
|
|
2569
|
-
}>;
|
|
2570
|
-
sessionId: z.ZodString;
|
|
2571
|
-
}, z.core.$strip>>;
|
|
2572
|
-
kind: z.ZodLiteral<"session.permission.resolved">;
|
|
2573
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2574
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
2575
|
-
accepted: z.ZodBoolean;
|
|
2576
|
-
commandId: z.ZodString;
|
|
2577
|
-
elicitationId: z.ZodString;
|
|
2578
|
-
fields: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2579
|
-
defaultBooleanValue: z.ZodBoolean;
|
|
2580
|
-
defaultNumberValue: z.ZodNumber;
|
|
2581
|
-
defaultStringValue: z.ZodString;
|
|
2582
|
-
description: z.ZodString;
|
|
2583
|
-
format: z.ZodString;
|
|
2584
|
-
hasDefaultValue: z.ZodBoolean;
|
|
2585
|
-
maximum: z.ZodString;
|
|
2586
|
-
maximumLength: z.ZodString;
|
|
2587
|
-
minimum: z.ZodString;
|
|
2588
|
-
minimumLength: z.ZodString;
|
|
2589
|
-
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
2590
|
-
name: z.ZodString;
|
|
2591
|
-
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2592
|
-
description: z.ZodString;
|
|
2593
|
-
label: z.ZodString;
|
|
2594
|
-
value: z.ZodString;
|
|
2595
|
-
}, z.core.$strip>>>>;
|
|
2596
|
-
pattern: z.ZodString;
|
|
2597
|
-
required: z.ZodBoolean;
|
|
2598
|
-
title: z.ZodString;
|
|
2599
|
-
type: z.ZodEnum<{
|
|
2600
|
-
boolean: "boolean";
|
|
2601
|
-
integer: "integer";
|
|
2602
|
-
multiselect: "multiselect";
|
|
2603
|
-
number: "number";
|
|
2604
|
-
select: "select";
|
|
2605
|
-
string: "string";
|
|
2606
|
-
}>;
|
|
2607
|
-
}, z.core.$strip>>>>;
|
|
2608
|
-
interactionId: z.ZodString;
|
|
2609
|
-
kind: z.ZodLiteral<"session.elicitation.requested">;
|
|
2610
|
-
message: z.ZodString;
|
|
2611
|
-
mode: z.ZodEnum<{
|
|
2612
|
-
form: "form";
|
|
2613
|
-
url: "url";
|
|
2614
|
-
}>;
|
|
2615
|
-
sessionId: z.ZodString;
|
|
2616
|
-
url: z.ZodString;
|
|
2617
|
-
}, z.core.$strip>>;
|
|
2618
|
-
kind: z.ZodLiteral<"session.elicitation.requested">;
|
|
2619
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2620
|
-
event: z.ZodReadonly<z.ZodObject<{
|
|
2621
|
-
action: z.ZodEnum<{
|
|
2622
|
-
accept: "accept";
|
|
2623
|
-
cancel: "cancel";
|
|
2624
|
-
complete: "complete";
|
|
2625
|
-
decline: "decline";
|
|
2626
|
-
}>;
|
|
2627
|
-
interactionId: z.ZodString;
|
|
2628
|
-
kind: z.ZodLiteral<"session.elicitation.resolved">;
|
|
2629
|
-
sessionId: z.ZodString;
|
|
2630
|
-
}, z.core.$strip>>;
|
|
2631
|
-
kind: z.ZodLiteral<"session.elicitation.resolved">;
|
|
2632
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2633
|
-
commandId: z.ZodString;
|
|
2634
|
-
content: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
2635
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2636
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2637
|
-
assistant: "assistant";
|
|
2638
|
-
user: "user";
|
|
2639
|
-
}>>>>>;
|
|
2640
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2641
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2642
|
-
}, z.core.$strip>>>>;
|
|
2643
|
-
text: z.ZodString;
|
|
2644
|
-
type: z.ZodLiteral<"text">;
|
|
2645
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2646
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2647
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2648
|
-
assistant: "assistant";
|
|
2649
|
-
user: "user";
|
|
2650
|
-
}>>>>>;
|
|
2651
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2652
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2653
|
-
}, z.core.$strip>>>>;
|
|
2654
|
-
data: z.ZodString;
|
|
2655
|
-
mimeType: z.ZodString;
|
|
2656
|
-
type: z.ZodLiteral<"image">;
|
|
2657
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2658
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2659
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2660
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2661
|
-
assistant: "assistant";
|
|
2662
|
-
user: "user";
|
|
2663
|
-
}>>>>>;
|
|
2664
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2665
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2666
|
-
}, z.core.$strip>>>>;
|
|
2667
|
-
data: z.ZodString;
|
|
2668
|
-
mimeType: z.ZodString;
|
|
2669
|
-
type: z.ZodLiteral<"audio">;
|
|
2670
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2671
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2672
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2673
|
-
assistant: "assistant";
|
|
2674
|
-
user: "user";
|
|
2675
|
-
}>>>>>;
|
|
2676
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2677
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2678
|
-
}, z.core.$strip>>>>;
|
|
2679
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2680
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2681
|
-
name: z.ZodString;
|
|
2682
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2683
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2684
|
-
type: z.ZodLiteral<"resource_link">;
|
|
2685
|
-
uri: z.ZodString;
|
|
2686
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2687
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2688
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2689
|
-
assistant: "assistant";
|
|
2690
|
-
user: "user";
|
|
2691
|
-
}>>>>>;
|
|
2692
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2693
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2694
|
-
}, z.core.$strip>>>>;
|
|
2695
|
-
resource: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2696
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2697
|
-
text: z.ZodString;
|
|
2698
|
-
uri: z.ZodString;
|
|
2699
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2700
|
-
blob: z.ZodString;
|
|
2701
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2702
|
-
uri: z.ZodString;
|
|
2703
|
-
}, z.core.$strip>>]>;
|
|
2704
|
-
type: z.ZodLiteral<"resource">;
|
|
2705
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2706
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2707
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2708
|
-
assistant: "assistant";
|
|
2709
|
-
user: "user";
|
|
2710
|
-
}>>>>>;
|
|
2711
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2712
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2713
|
-
}, z.core.$strip>>>>;
|
|
2714
|
-
byteLength: z.ZodNumber;
|
|
2715
|
-
imageKey: z.ZodString;
|
|
2716
|
-
mimeType: z.ZodString;
|
|
2717
|
-
type: z.ZodLiteral<"external_image">;
|
|
2718
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2719
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2720
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2721
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2722
|
-
assistant: "assistant";
|
|
2723
|
-
user: "user";
|
|
2724
|
-
}>>>>>;
|
|
2725
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2726
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2727
|
-
}, z.core.$strip>>>>;
|
|
2728
|
-
audioKey: z.ZodString;
|
|
2729
|
-
byteLength: z.ZodNumber;
|
|
2730
|
-
mimeType: z.ZodString;
|
|
2731
|
-
type: z.ZodLiteral<"external_audio">;
|
|
2732
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2733
|
-
annotations: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2734
|
-
audience: z.ZodOptional<z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2735
|
-
assistant: "assistant";
|
|
2736
|
-
user: "user";
|
|
2737
|
-
}>>>>>;
|
|
2738
|
-
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2739
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2740
|
-
}, z.core.$strip>>>>;
|
|
2741
|
-
byteLength: z.ZodNumber;
|
|
2742
|
-
encoding: z.ZodEnum<{
|
|
2743
|
-
binary: "binary";
|
|
2744
|
-
text: "text";
|
|
2745
|
-
}>;
|
|
2746
|
-
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2747
|
-
resourceKey: z.ZodString;
|
|
2748
|
-
type: z.ZodLiteral<"external_resource">;
|
|
2749
|
-
uri: z.ZodString;
|
|
2750
|
-
}, z.core.$strip>>], "type">>>;
|
|
2751
|
-
disposition: z.ZodOptional<z.ZodString>;
|
|
2752
|
-
kind: z.ZodLiteral<"prompt.requested">;
|
|
2753
|
-
context: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
2754
|
-
agentId: z.ZodString;
|
|
2755
|
-
directoryId: z.ZodString;
|
|
2756
|
-
additionalDirectoryIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2757
|
-
}, z.core.$strip>>>;
|
|
2758
|
-
targetCommandId: z.ZodOptional<z.ZodString>;
|
|
2759
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2760
|
-
commandId: z.ZodString;
|
|
2761
|
-
attemptId: z.ZodString;
|
|
2762
|
-
epoch: z.ZodString;
|
|
2763
|
-
kind: z.ZodLiteral<"prompt.started">;
|
|
2764
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2765
|
-
commandId: z.ZodString;
|
|
2766
|
-
kind: z.ZodLiteral<"prompt.completed">;
|
|
2767
|
-
stopReason: z.ZodString;
|
|
2768
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2769
|
-
commandId: z.ZodString;
|
|
2770
|
-
code: z.ZodString;
|
|
2771
|
-
kind: z.ZodLiteral<"prompt.failed-before-start">;
|
|
2772
|
-
message: z.ZodString;
|
|
2773
|
-
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2774
|
-
commandId: z.ZodString;
|
|
2775
|
-
attemptId: z.ZodString;
|
|
2776
|
-
code: z.ZodString;
|
|
2777
|
-
kind: z.ZodLiteral<"prompt.failed">;
|
|
2778
|
-
message: z.ZodString;
|
|
2779
|
-
}, z.core.$strip>>], "kind">;
|
|
2780
|
-
type: z.ZodLiteral<"lifecycle-metadata">;
|
|
2781
|
-
}, z.core.$strip>>], "type">>>;
|
|
2263
|
+
}, z.core.$strip>>>>;
|
|
2782
2264
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
2783
2265
|
sessionGenerationId: z.ZodString;
|
|
2784
2266
|
tailCursor: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../src/protocol/session/observability/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,8BAA8B,sCAAsC,CAAC;AAClF,eAAO,MAAM,gCAAgC,wCAAwC,CAAC;AACtF,eAAO,MAAM,sCAAsC,sCAAsC,CAAC;AAC1F,eAAO,MAAM,wCAAwC,wCAAwC,CAAC;AAW9F,QAAA,MAAM,4BAA4B;;;;;;;kBAEnB,CAAC;AAEhB,QAAA,MAAM,mCAAmC;;;;;;;;;;;kBAS1B,CAAC;AAQhB,QAAA,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../src/protocol/session/observability/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,8BAA8B,sCAAsC,CAAC;AAClF,eAAO,MAAM,gCAAgC,wCAAwC,CAAC;AACtF,eAAO,MAAM,sCAAsC,sCAAsC,CAAC;AAC1F,eAAO,MAAM,wCAAwC,wCAAwC,CAAC;AAW9F,QAAA,M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CAAC;AAChE,eAAO,MAAM,mCAAmC,UAAW,6BAA6B,KAAG,MACvB,CAAC;AACrE,eAAO,MAAM,qCAAqC,UAAW,+BAA+B,KAAG,MACzB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SessionLiveEvent } from "../observability/event-log.ts";
|
|
2
2
|
import type { SessionRecordingStatus } from "./recording.ts";
|
|
3
3
|
/**
|
|
4
4
|
* The last lifecycle observation in these events, for legacy summary and webhook consumers.
|
|
5
5
|
* Missing events and other commands make this unsuitable as a current Session execution status.
|
|
6
6
|
*/
|
|
7
|
-
export declare function lastRecordedLifecycleStatus(events: readonly
|
|
7
|
+
export declare function lastRecordedLifecycleStatus(events: readonly SessionLiveEvent[]): SessionRecordingStatus | null;
|
|
8
8
|
//# sourceMappingURL=recorded-lifecycle-status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recorded-lifecycle-status.d.ts","sourceRoot":"","sources":["../../../../src/protocol/session/recording/recorded-lifecycle-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"recorded-lifecycle-status.d.ts","sourceRoot":"","sources":["../../../../src/protocol/session/recording/recorded-lifecycle-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,GAAG,sBAAsB,GAAG,IAAI,CAqB9G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recorded-lifecycle-status.js","sourceRoot":"","sources":["../../../../src/protocol/session/recording/recorded-lifecycle-status.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,UAAU,2BAA2B,CAAC,
|
|
1
|
+
{"version":3,"file":"recorded-lifecycle-status.js","sourceRoot":"","sources":["../../../../src/protocol/session/recording/recorded-lifecycle-status.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,UAAU,2BAA2B,CAAC,MAAmC;IAC3E,IAAI,MAAM,GAAkC,IAAI,CAAC;IACjD,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QACzB,IAAI,KAAK,CAAC,IAAI,KAAK,oBAAoB,EAAE,CAAC;YACtC,SAAS;QACb,CAAC;QACD,QAAQ,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACzB,KAAK,kBAAkB,CAAC;YACxB,KAAK,gBAAgB;gBACjB,MAAM,GAAG,SAAS,CAAC;gBACnB,MAAM;YACV,KAAK,kBAAkB;gBACnB,MAAM,GAAG,MAAM,CAAC;gBAChB,MAAM;YACV,KAAK,eAAe,CAAC;YACrB,KAAK,4BAA4B;gBAC7B,MAAM,GAAG,QAAQ,CAAC;gBAClB,MAAM;QACd,CAAC;IACL,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|