@opencode-ai/protocol 0.0.0-next-15016 → 0.0.0-next-15017
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/groups/event.d.ts +541 -222
- package/dist/groups/message.d.ts +23 -16
- package/dist/groups/session.d.ts +413 -143
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -1253,7 +1253,12 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1253
1253
|
};
|
|
1254
1254
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1255
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>;
|
|
1256
|
-
readonly type: Schema.Literal<"session.execution.
|
|
1256
|
+
readonly type: Schema.Literal<"session.execution.started">;
|
|
1257
|
+
readonly durable: Schema.Struct<{
|
|
1258
|
+
readonly aggregateID: Schema.String;
|
|
1259
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
1260
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
1261
|
+
}>;
|
|
1257
1262
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1258
1263
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1259
1264
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -1274,32 +1279,179 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1274
1279
|
}>, never, never>;
|
|
1275
1280
|
}>>, never, never>;
|
|
1276
1281
|
readonly data: Schema.Struct<{
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1282
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1283
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1284
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1285
|
+
};
|
|
1286
|
+
}>;
|
|
1287
|
+
}> & {
|
|
1288
|
+
type: "session.execution.started";
|
|
1289
|
+
durability: "durable";
|
|
1290
|
+
durable: {
|
|
1291
|
+
readonly version: number;
|
|
1292
|
+
readonly aggregate: string;
|
|
1293
|
+
};
|
|
1294
|
+
data: Schema.Struct<{
|
|
1295
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1296
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1297
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1298
|
+
};
|
|
1299
|
+
}>;
|
|
1300
|
+
}) | (Schema.Struct<{
|
|
1301
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1302
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1303
|
+
};
|
|
1304
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1305
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1306
|
+
readonly type: Schema.Literal<"session.execution.succeeded">;
|
|
1307
|
+
readonly durable: Schema.Struct<{
|
|
1308
|
+
readonly aggregateID: Schema.String;
|
|
1309
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
1310
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
1311
|
+
}>;
|
|
1312
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1313
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1314
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1315
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1316
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1317
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1318
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1319
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1320
|
+
}>, never, never>;
|
|
1321
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1322
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1323
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1324
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1325
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1326
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1327
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1328
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1329
|
+
}>, never, never>;
|
|
1330
|
+
}>>, never, never>;
|
|
1331
|
+
readonly data: Schema.Struct<{
|
|
1332
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1333
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1334
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1335
|
+
};
|
|
1336
|
+
}>;
|
|
1337
|
+
}> & {
|
|
1338
|
+
type: "session.execution.succeeded";
|
|
1339
|
+
durability: "durable";
|
|
1340
|
+
durable: {
|
|
1341
|
+
readonly version: number;
|
|
1342
|
+
readonly aggregate: string;
|
|
1343
|
+
};
|
|
1344
|
+
data: Schema.Struct<{
|
|
1345
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1346
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1347
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1348
|
+
};
|
|
1349
|
+
}>;
|
|
1350
|
+
}) | (Schema.Struct<{
|
|
1351
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1352
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1353
|
+
};
|
|
1354
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1355
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1356
|
+
readonly type: Schema.Literal<"session.execution.failed">;
|
|
1357
|
+
readonly durable: Schema.Struct<{
|
|
1358
|
+
readonly aggregateID: Schema.String;
|
|
1359
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
1360
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
1361
|
+
}>;
|
|
1362
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1363
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1364
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1365
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1366
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1367
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1368
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1369
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1370
|
+
}>, never, never>;
|
|
1371
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1372
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1373
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1374
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1375
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1376
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1377
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1378
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1379
|
+
}>, never, never>;
|
|
1380
|
+
}>>, never, never>;
|
|
1381
|
+
readonly data: Schema.Struct<{
|
|
1382
|
+
readonly error: Schema.Struct<{
|
|
1383
|
+
readonly type: Schema.String;
|
|
1283
1384
|
readonly message: Schema.String;
|
|
1284
|
-
}
|
|
1385
|
+
}>;
|
|
1285
1386
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1286
1387
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1287
1388
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1288
1389
|
};
|
|
1289
1390
|
}>;
|
|
1290
1391
|
}> & {
|
|
1291
|
-
type: "session.execution.
|
|
1292
|
-
durability: "
|
|
1293
|
-
durable:
|
|
1392
|
+
type: "session.execution.failed";
|
|
1393
|
+
durability: "durable";
|
|
1394
|
+
durable: {
|
|
1395
|
+
readonly version: number;
|
|
1396
|
+
readonly aggregate: string;
|
|
1397
|
+
};
|
|
1294
1398
|
data: Schema.Struct<{
|
|
1295
|
-
readonly
|
|
1296
|
-
|
|
1297
|
-
readonly type: Schema.Literal<"unknown">;
|
|
1298
|
-
readonly message: Schema.String;
|
|
1299
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1300
|
-
readonly type: Schema.Literal<"unknown">;
|
|
1399
|
+
readonly error: Schema.Struct<{
|
|
1400
|
+
readonly type: Schema.String;
|
|
1301
1401
|
readonly message: Schema.String;
|
|
1302
|
-
}
|
|
1402
|
+
}>;
|
|
1403
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1404
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1405
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1406
|
+
};
|
|
1407
|
+
}>;
|
|
1408
|
+
}) | (Schema.Struct<{
|
|
1409
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1410
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1411
|
+
};
|
|
1412
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1413
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1414
|
+
readonly type: Schema.Literal<"session.execution.interrupted">;
|
|
1415
|
+
readonly durable: Schema.Struct<{
|
|
1416
|
+
readonly aggregateID: Schema.String;
|
|
1417
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
1418
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
1419
|
+
}>;
|
|
1420
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1421
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1422
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1423
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1424
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1425
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1426
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1427
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1428
|
+
}>, never, never>;
|
|
1429
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1430
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1431
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1432
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1433
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1434
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
1435
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1436
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
1437
|
+
}>, never, never>;
|
|
1438
|
+
}>>, never, never>;
|
|
1439
|
+
readonly data: Schema.Struct<{
|
|
1440
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
1441
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1442
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1443
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1444
|
+
};
|
|
1445
|
+
}>;
|
|
1446
|
+
}> & {
|
|
1447
|
+
type: "session.execution.interrupted";
|
|
1448
|
+
durability: "durable";
|
|
1449
|
+
durable: {
|
|
1450
|
+
readonly version: number;
|
|
1451
|
+
readonly aggregate: string;
|
|
1452
|
+
};
|
|
1453
|
+
data: Schema.Struct<{
|
|
1454
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
1303
1455
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1304
1456
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1305
1457
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1783,7 +1935,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1783
1935
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1784
1936
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1785
1937
|
};
|
|
1786
|
-
readonly finish: Schema.
|
|
1938
|
+
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
1787
1939
|
readonly cost: Schema.Finite;
|
|
1788
1940
|
readonly tokens: Schema.Struct<{
|
|
1789
1941
|
readonly input: Schema.Finite;
|
|
@@ -1813,7 +1965,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1813
1965
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1814
1966
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1815
1967
|
};
|
|
1816
|
-
readonly finish: Schema.
|
|
1968
|
+
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
1817
1969
|
readonly cost: Schema.Finite;
|
|
1818
1970
|
readonly tokens: Schema.Struct<{
|
|
1819
1971
|
readonly input: Schema.Finite;
|
|
@@ -1868,7 +2020,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1868
2020
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1869
2021
|
};
|
|
1870
2022
|
readonly error: Schema.Struct<{
|
|
1871
|
-
readonly type: Schema.
|
|
2023
|
+
readonly type: Schema.String;
|
|
1872
2024
|
readonly message: Schema.String;
|
|
1873
2025
|
}>;
|
|
1874
2026
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -1889,7 +2041,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1889
2041
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1890
2042
|
};
|
|
1891
2043
|
readonly error: Schema.Struct<{
|
|
1892
|
-
readonly type: Schema.
|
|
2044
|
+
readonly type: Schema.String;
|
|
1893
2045
|
readonly message: Schema.String;
|
|
1894
2046
|
}>;
|
|
1895
2047
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -1933,7 +2085,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1933
2085
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1934
2086
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1935
2087
|
};
|
|
1936
|
-
readonly
|
|
2088
|
+
readonly ordinal: Schema.Int;
|
|
1937
2089
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1938
2090
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1939
2091
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1951,7 +2103,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1951
2103
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1952
2104
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1953
2105
|
};
|
|
1954
|
-
readonly
|
|
2106
|
+
readonly ordinal: Schema.Int;
|
|
1955
2107
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1956
2108
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1957
2109
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1988,7 +2140,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1988
2140
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1989
2141
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1990
2142
|
};
|
|
1991
|
-
readonly
|
|
2143
|
+
readonly ordinal: Schema.Int;
|
|
1992
2144
|
readonly delta: Schema.String;
|
|
1993
2145
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1994
2146
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2004,7 +2156,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2004
2156
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2005
2157
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2006
2158
|
};
|
|
2007
|
-
readonly
|
|
2159
|
+
readonly ordinal: Schema.Int;
|
|
2008
2160
|
readonly delta: Schema.String;
|
|
2009
2161
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2010
2162
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2047,7 +2199,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2047
2199
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2048
2200
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2049
2201
|
};
|
|
2050
|
-
readonly
|
|
2202
|
+
readonly ordinal: Schema.Int;
|
|
2051
2203
|
readonly text: Schema.String;
|
|
2052
2204
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2053
2205
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2066,7 +2218,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2066
2218
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2067
2219
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2068
2220
|
};
|
|
2069
|
-
readonly
|
|
2221
|
+
readonly ordinal: Schema.Int;
|
|
2070
2222
|
readonly text: Schema.String;
|
|
2071
2223
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2072
2224
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2109,8 +2261,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2109
2261
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2110
2262
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2111
2263
|
};
|
|
2112
|
-
readonly
|
|
2113
|
-
readonly
|
|
2264
|
+
readonly ordinal: Schema.Int;
|
|
2265
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2114
2266
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2115
2267
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2116
2268
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2128,8 +2280,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2128
2280
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2129
2281
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2130
2282
|
};
|
|
2131
|
-
readonly
|
|
2132
|
-
readonly
|
|
2283
|
+
readonly ordinal: Schema.Int;
|
|
2284
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2133
2285
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2134
2286
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2135
2287
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2166,7 +2318,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2166
2318
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2167
2319
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2168
2320
|
};
|
|
2169
|
-
readonly
|
|
2321
|
+
readonly ordinal: Schema.Int;
|
|
2170
2322
|
readonly delta: Schema.String;
|
|
2171
2323
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2172
2324
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2182,7 +2334,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2182
2334
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2183
2335
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2184
2336
|
};
|
|
2185
|
-
readonly
|
|
2337
|
+
readonly ordinal: Schema.Int;
|
|
2186
2338
|
readonly delta: Schema.String;
|
|
2187
2339
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2188
2340
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2225,9 +2377,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2225
2377
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2226
2378
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2227
2379
|
};
|
|
2228
|
-
readonly
|
|
2380
|
+
readonly ordinal: Schema.Int;
|
|
2229
2381
|
readonly text: Schema.String;
|
|
2230
|
-
readonly
|
|
2382
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2231
2383
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2232
2384
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2233
2385
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2245,9 +2397,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2245
2397
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2246
2398
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2247
2399
|
};
|
|
2248
|
-
readonly
|
|
2400
|
+
readonly ordinal: Schema.Int;
|
|
2249
2401
|
readonly text: Schema.String;
|
|
2250
|
-
readonly
|
|
2402
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2251
2403
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2252
2404
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2253
2405
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2463,12 +2615,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2463
2615
|
}>, never, never>;
|
|
2464
2616
|
}>>, never, never>;
|
|
2465
2617
|
readonly data: Schema.Struct<{
|
|
2466
|
-
readonly tool: Schema.String;
|
|
2467
2618
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2468
|
-
readonly
|
|
2469
|
-
|
|
2470
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
2471
|
-
}>;
|
|
2619
|
+
readonly executed: Schema.Boolean;
|
|
2620
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2472
2621
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2473
2622
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2474
2623
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2487,12 +2636,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2487
2636
|
readonly aggregate: string;
|
|
2488
2637
|
};
|
|
2489
2638
|
data: Schema.Struct<{
|
|
2490
|
-
readonly tool: Schema.String;
|
|
2491
2639
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2492
|
-
readonly
|
|
2493
|
-
|
|
2494
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
2495
|
-
}>;
|
|
2640
|
+
readonly executed: Schema.Boolean;
|
|
2641
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2496
2642
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2497
2643
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2498
2644
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2627,10 +2773,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2627
2773
|
}>]>>;
|
|
2628
2774
|
readonly outputPaths: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
2629
2775
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
2630
|
-
readonly
|
|
2631
|
-
|
|
2632
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
2633
|
-
}>;
|
|
2776
|
+
readonly executed: Schema.Boolean;
|
|
2777
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2634
2778
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2635
2779
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2636
2780
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2661,10 +2805,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2661
2805
|
}>]>>;
|
|
2662
2806
|
readonly outputPaths: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
2663
2807
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
2664
|
-
readonly
|
|
2665
|
-
|
|
2666
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
2667
|
-
}>;
|
|
2808
|
+
readonly executed: Schema.Boolean;
|
|
2809
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2668
2810
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2669
2811
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2670
2812
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2708,14 +2850,12 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2708
2850
|
}>>, never, never>;
|
|
2709
2851
|
readonly data: Schema.Struct<{
|
|
2710
2852
|
readonly error: Schema.Struct<{
|
|
2711
|
-
readonly type: Schema.
|
|
2853
|
+
readonly type: Schema.String;
|
|
2712
2854
|
readonly message: Schema.String;
|
|
2713
2855
|
}>;
|
|
2714
2856
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
2715
|
-
readonly
|
|
2716
|
-
|
|
2717
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
2718
|
-
}>;
|
|
2857
|
+
readonly executed: Schema.Boolean;
|
|
2858
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2719
2859
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2720
2860
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2721
2861
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2735,14 +2875,12 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2735
2875
|
};
|
|
2736
2876
|
data: Schema.Struct<{
|
|
2737
2877
|
readonly error: Schema.Struct<{
|
|
2738
|
-
readonly type: Schema.
|
|
2878
|
+
readonly type: Schema.String;
|
|
2739
2879
|
readonly message: Schema.String;
|
|
2740
2880
|
}>;
|
|
2741
2881
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
2742
|
-
readonly
|
|
2743
|
-
|
|
2744
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
2745
|
-
}>;
|
|
2882
|
+
readonly executed: Schema.Boolean;
|
|
2883
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2746
2884
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2747
2885
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2748
2886
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2759,7 +2897,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2759
2897
|
};
|
|
2760
2898
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2761
2899
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2762
|
-
readonly type: Schema.Literal<"session.
|
|
2900
|
+
readonly type: Schema.Literal<"session.retry.scheduled">;
|
|
2763
2901
|
readonly durable: Schema.Struct<{
|
|
2764
2902
|
readonly aggregateID: Schema.String;
|
|
2765
2903
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2785,14 +2923,15 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2785
2923
|
}>, never, never>;
|
|
2786
2924
|
}>>, never, never>;
|
|
2787
2925
|
readonly data: Schema.Struct<{
|
|
2788
|
-
readonly
|
|
2926
|
+
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2927
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2928
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2929
|
+
};
|
|
2930
|
+
readonly attempt: Schema.Int;
|
|
2931
|
+
readonly at: Schema.Int;
|
|
2789
2932
|
readonly error: Schema.Struct<{
|
|
2933
|
+
readonly type: Schema.String;
|
|
2790
2934
|
readonly message: Schema.String;
|
|
2791
|
-
readonly statusCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
2792
|
-
readonly isRetryable: Schema.Boolean;
|
|
2793
|
-
readonly responseHeaders: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
2794
|
-
readonly responseBody: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2795
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
2796
2935
|
}>;
|
|
2797
2936
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2798
2937
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2800,21 +2939,22 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2800
2939
|
};
|
|
2801
2940
|
}>;
|
|
2802
2941
|
}> & {
|
|
2803
|
-
type: "session.
|
|
2942
|
+
type: "session.retry.scheduled";
|
|
2804
2943
|
durability: "durable";
|
|
2805
2944
|
durable: {
|
|
2806
2945
|
readonly version: number;
|
|
2807
2946
|
readonly aggregate: string;
|
|
2808
2947
|
};
|
|
2809
2948
|
data: Schema.Struct<{
|
|
2810
|
-
readonly
|
|
2949
|
+
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2950
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2951
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2952
|
+
};
|
|
2953
|
+
readonly attempt: Schema.Int;
|
|
2954
|
+
readonly at: Schema.Int;
|
|
2811
2955
|
readonly error: Schema.Struct<{
|
|
2956
|
+
readonly type: Schema.String;
|
|
2812
2957
|
readonly message: Schema.String;
|
|
2813
|
-
readonly statusCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
2814
|
-
readonly isRetryable: Schema.Boolean;
|
|
2815
|
-
readonly responseHeaders: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
2816
|
-
readonly responseBody: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2817
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
2818
2958
|
}>;
|
|
2819
2959
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2820
2960
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3149,7 +3289,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3149
3289
|
}>, never, never>;
|
|
3150
3290
|
}>>, never, never>;
|
|
3151
3291
|
readonly data: Schema.Struct<{
|
|
3152
|
-
readonly
|
|
3292
|
+
readonly to: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3153
3293
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3154
3294
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3155
3295
|
};
|
|
@@ -3166,7 +3306,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3166
3306
|
readonly aggregate: string;
|
|
3167
3307
|
};
|
|
3168
3308
|
data: Schema.Struct<{
|
|
3169
|
-
readonly
|
|
3309
|
+
readonly to: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3170
3310
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3171
3311
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3172
3312
|
};
|
|
@@ -7779,14 +7919,76 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7779
7919
|
} | {
|
|
7780
7920
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7781
7921
|
readonly created: import("effect/DateTime").Utc;
|
|
7782
|
-
readonly type: "session.execution.
|
|
7922
|
+
readonly type: "session.execution.started";
|
|
7923
|
+
readonly durable: {
|
|
7924
|
+
readonly aggregateID: string;
|
|
7925
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7926
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7927
|
+
};
|
|
7783
7928
|
readonly data: {
|
|
7784
|
-
readonly outcome: "success" | "failure" | "interrupted";
|
|
7785
7929
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7786
|
-
|
|
7787
|
-
|
|
7930
|
+
};
|
|
7931
|
+
readonly metadata?: {
|
|
7932
|
+
readonly [x: string]: unknown;
|
|
7933
|
+
} | undefined;
|
|
7934
|
+
readonly location?: {
|
|
7935
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7936
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
7937
|
+
} | undefined;
|
|
7938
|
+
} | {
|
|
7939
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7940
|
+
readonly created: import("effect/DateTime").Utc;
|
|
7941
|
+
readonly type: "session.execution.succeeded";
|
|
7942
|
+
readonly durable: {
|
|
7943
|
+
readonly aggregateID: string;
|
|
7944
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7945
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7946
|
+
};
|
|
7947
|
+
readonly data: {
|
|
7948
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7949
|
+
};
|
|
7950
|
+
readonly metadata?: {
|
|
7951
|
+
readonly [x: string]: unknown;
|
|
7952
|
+
} | undefined;
|
|
7953
|
+
readonly location?: {
|
|
7954
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7955
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
7956
|
+
} | undefined;
|
|
7957
|
+
} | {
|
|
7958
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7959
|
+
readonly created: import("effect/DateTime").Utc;
|
|
7960
|
+
readonly type: "session.execution.failed";
|
|
7961
|
+
readonly durable: {
|
|
7962
|
+
readonly aggregateID: string;
|
|
7963
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7964
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7965
|
+
};
|
|
7966
|
+
readonly data: {
|
|
7967
|
+
readonly error: {
|
|
7968
|
+
readonly type: string;
|
|
7788
7969
|
readonly message: string;
|
|
7789
|
-
}
|
|
7970
|
+
};
|
|
7971
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7972
|
+
};
|
|
7973
|
+
readonly metadata?: {
|
|
7974
|
+
readonly [x: string]: unknown;
|
|
7975
|
+
} | undefined;
|
|
7976
|
+
readonly location?: {
|
|
7977
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7978
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
7979
|
+
} | undefined;
|
|
7980
|
+
} | {
|
|
7981
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7982
|
+
readonly created: import("effect/DateTime").Utc;
|
|
7983
|
+
readonly type: "session.execution.interrupted";
|
|
7984
|
+
readonly durable: {
|
|
7985
|
+
readonly aggregateID: string;
|
|
7986
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7987
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7988
|
+
};
|
|
7989
|
+
readonly data: {
|
|
7990
|
+
readonly reason: "user" | "shutdown" | "superseded";
|
|
7991
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7790
7992
|
};
|
|
7791
7993
|
readonly metadata?: {
|
|
7792
7994
|
readonly [x: string]: unknown;
|
|
@@ -7976,7 +8178,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7976
8178
|
};
|
|
7977
8179
|
readonly data: {
|
|
7978
8180
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7979
|
-
readonly finish:
|
|
8181
|
+
readonly finish: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown";
|
|
7980
8182
|
readonly cost: number;
|
|
7981
8183
|
readonly tokens: {
|
|
7982
8184
|
readonly input: number;
|
|
@@ -8010,7 +8212,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8010
8212
|
readonly data: {
|
|
8011
8213
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8012
8214
|
readonly error: {
|
|
8013
|
-
readonly type:
|
|
8215
|
+
readonly type: string;
|
|
8014
8216
|
readonly message: string;
|
|
8015
8217
|
};
|
|
8016
8218
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8033,7 +8235,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8033
8235
|
};
|
|
8034
8236
|
readonly data: {
|
|
8035
8237
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8036
|
-
readonly
|
|
8238
|
+
readonly ordinal: number;
|
|
8037
8239
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8038
8240
|
};
|
|
8039
8241
|
readonly metadata?: {
|
|
@@ -8049,7 +8251,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8049
8251
|
readonly type: "session.text.delta";
|
|
8050
8252
|
readonly data: {
|
|
8051
8253
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8052
|
-
readonly
|
|
8254
|
+
readonly ordinal: number;
|
|
8053
8255
|
readonly delta: string;
|
|
8054
8256
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8055
8257
|
};
|
|
@@ -8071,7 +8273,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8071
8273
|
};
|
|
8072
8274
|
readonly data: {
|
|
8073
8275
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8074
|
-
readonly
|
|
8276
|
+
readonly ordinal: number;
|
|
8075
8277
|
readonly text: string;
|
|
8076
8278
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8077
8279
|
};
|
|
@@ -8093,12 +8295,10 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8093
8295
|
};
|
|
8094
8296
|
readonly data: {
|
|
8095
8297
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8096
|
-
readonly
|
|
8298
|
+
readonly ordinal: number;
|
|
8097
8299
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8098
|
-
readonly
|
|
8099
|
-
readonly [x: string]:
|
|
8100
|
-
readonly [x: string]: unknown;
|
|
8101
|
-
};
|
|
8300
|
+
readonly state?: {
|
|
8301
|
+
readonly [x: string]: unknown;
|
|
8102
8302
|
} | undefined;
|
|
8103
8303
|
};
|
|
8104
8304
|
readonly metadata?: {
|
|
@@ -8114,7 +8314,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8114
8314
|
readonly type: "session.reasoning.delta";
|
|
8115
8315
|
readonly data: {
|
|
8116
8316
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8117
|
-
readonly
|
|
8317
|
+
readonly ordinal: number;
|
|
8118
8318
|
readonly delta: string;
|
|
8119
8319
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8120
8320
|
};
|
|
@@ -8136,13 +8336,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8136
8336
|
};
|
|
8137
8337
|
readonly data: {
|
|
8138
8338
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8139
|
-
readonly
|
|
8339
|
+
readonly ordinal: number;
|
|
8140
8340
|
readonly text: string;
|
|
8141
8341
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8142
|
-
readonly
|
|
8143
|
-
readonly [x: string]:
|
|
8144
|
-
readonly [x: string]: unknown;
|
|
8145
|
-
};
|
|
8342
|
+
readonly state?: {
|
|
8343
|
+
readonly [x: string]: unknown;
|
|
8146
8344
|
} | undefined;
|
|
8147
8345
|
};
|
|
8148
8346
|
readonly metadata?: {
|
|
@@ -8223,21 +8421,16 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8223
8421
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8224
8422
|
};
|
|
8225
8423
|
readonly data: {
|
|
8226
|
-
readonly tool: string;
|
|
8227
8424
|
readonly input: {
|
|
8228
8425
|
readonly [x: string]: unknown;
|
|
8229
8426
|
};
|
|
8230
|
-
readonly
|
|
8231
|
-
readonly executed: boolean;
|
|
8232
|
-
readonly metadata?: {
|
|
8233
|
-
readonly [x: string]: {
|
|
8234
|
-
readonly [x: string]: unknown;
|
|
8235
|
-
};
|
|
8236
|
-
} | undefined;
|
|
8237
|
-
};
|
|
8427
|
+
readonly executed: boolean;
|
|
8238
8428
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8239
8429
|
readonly callID: string;
|
|
8240
8430
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8431
|
+
readonly state?: {
|
|
8432
|
+
readonly [x: string]: unknown;
|
|
8433
|
+
} | undefined;
|
|
8241
8434
|
};
|
|
8242
8435
|
readonly metadata?: {
|
|
8243
8436
|
readonly [x: string]: unknown;
|
|
@@ -8301,19 +8494,15 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8301
8494
|
readonly mime: string;
|
|
8302
8495
|
readonly name?: string | undefined;
|
|
8303
8496
|
})[];
|
|
8304
|
-
readonly
|
|
8305
|
-
readonly executed: boolean;
|
|
8306
|
-
readonly metadata?: {
|
|
8307
|
-
readonly [x: string]: {
|
|
8308
|
-
readonly [x: string]: unknown;
|
|
8309
|
-
};
|
|
8310
|
-
} | undefined;
|
|
8311
|
-
};
|
|
8497
|
+
readonly executed: boolean;
|
|
8312
8498
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8313
8499
|
readonly callID: string;
|
|
8314
8500
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8315
8501
|
readonly outputPaths?: readonly string[] | undefined;
|
|
8316
8502
|
readonly result?: unknown;
|
|
8503
|
+
readonly resultState?: {
|
|
8504
|
+
readonly [x: string]: unknown;
|
|
8505
|
+
} | undefined;
|
|
8317
8506
|
};
|
|
8318
8507
|
readonly metadata?: {
|
|
8319
8508
|
readonly [x: string]: unknown;
|
|
@@ -8333,21 +8522,17 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8333
8522
|
};
|
|
8334
8523
|
readonly data: {
|
|
8335
8524
|
readonly error: {
|
|
8336
|
-
readonly type:
|
|
8525
|
+
readonly type: string;
|
|
8337
8526
|
readonly message: string;
|
|
8338
8527
|
};
|
|
8339
|
-
readonly
|
|
8340
|
-
readonly executed: boolean;
|
|
8341
|
-
readonly metadata?: {
|
|
8342
|
-
readonly [x: string]: {
|
|
8343
|
-
readonly [x: string]: unknown;
|
|
8344
|
-
};
|
|
8345
|
-
} | undefined;
|
|
8346
|
-
};
|
|
8528
|
+
readonly executed: boolean;
|
|
8347
8529
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8348
8530
|
readonly callID: string;
|
|
8349
8531
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8350
8532
|
readonly result?: unknown;
|
|
8533
|
+
readonly resultState?: {
|
|
8534
|
+
readonly [x: string]: unknown;
|
|
8535
|
+
} | undefined;
|
|
8351
8536
|
};
|
|
8352
8537
|
readonly metadata?: {
|
|
8353
8538
|
readonly [x: string]: unknown;
|
|
@@ -8359,25 +8544,19 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8359
8544
|
} | {
|
|
8360
8545
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8361
8546
|
readonly created: import("effect/DateTime").Utc;
|
|
8362
|
-
readonly type: "session.
|
|
8547
|
+
readonly type: "session.retry.scheduled";
|
|
8363
8548
|
readonly durable: {
|
|
8364
8549
|
readonly aggregateID: string;
|
|
8365
8550
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
8366
8551
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8367
8552
|
};
|
|
8368
8553
|
readonly data: {
|
|
8554
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8369
8555
|
readonly attempt: number;
|
|
8556
|
+
readonly at: number;
|
|
8370
8557
|
readonly error: {
|
|
8558
|
+
readonly type: string;
|
|
8371
8559
|
readonly message: string;
|
|
8372
|
-
readonly isRetryable: boolean;
|
|
8373
|
-
readonly statusCode?: number | undefined;
|
|
8374
|
-
readonly responseHeaders?: {
|
|
8375
|
-
readonly [x: string]: string;
|
|
8376
|
-
} | undefined;
|
|
8377
|
-
readonly responseBody?: string | undefined;
|
|
8378
|
-
readonly metadata?: {
|
|
8379
|
-
readonly [x: string]: string;
|
|
8380
|
-
} | undefined;
|
|
8381
8560
|
};
|
|
8382
8561
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8383
8562
|
};
|
|
@@ -8506,7 +8685,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8506
8685
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8507
8686
|
};
|
|
8508
8687
|
readonly data: {
|
|
8509
|
-
readonly
|
|
8688
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8510
8689
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8511
8690
|
};
|
|
8512
8691
|
readonly metadata?: {
|
|
@@ -11216,7 +11395,12 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11216
11395
|
};
|
|
11217
11396
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11218
11397
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11219
|
-
readonly type: Schema.Literal<"session.execution.
|
|
11398
|
+
readonly type: Schema.Literal<"session.execution.started">;
|
|
11399
|
+
readonly durable: Schema.Struct<{
|
|
11400
|
+
readonly aggregateID: Schema.String;
|
|
11401
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
11402
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
11403
|
+
}>;
|
|
11220
11404
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11221
11405
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11222
11406
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -11237,32 +11421,179 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11237
11421
|
}>, never, never>;
|
|
11238
11422
|
}>>, never, never>;
|
|
11239
11423
|
readonly data: Schema.Struct<{
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11245
|
-
|
|
11424
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11425
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11426
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11427
|
+
};
|
|
11428
|
+
}>;
|
|
11429
|
+
}> & {
|
|
11430
|
+
type: "session.execution.started";
|
|
11431
|
+
durability: "durable";
|
|
11432
|
+
durable: {
|
|
11433
|
+
readonly version: number;
|
|
11434
|
+
readonly aggregate: string;
|
|
11435
|
+
};
|
|
11436
|
+
data: Schema.Struct<{
|
|
11437
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11438
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11439
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11440
|
+
};
|
|
11441
|
+
}>;
|
|
11442
|
+
}) | (Schema.Struct<{
|
|
11443
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11444
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
11445
|
+
};
|
|
11446
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11447
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11448
|
+
readonly type: Schema.Literal<"session.execution.succeeded">;
|
|
11449
|
+
readonly durable: Schema.Struct<{
|
|
11450
|
+
readonly aggregateID: Schema.String;
|
|
11451
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
11452
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
11453
|
+
}>;
|
|
11454
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11455
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11456
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11457
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11458
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11459
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11460
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11461
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11462
|
+
}>, never, never>;
|
|
11463
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11464
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11465
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11466
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11467
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11468
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11469
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11470
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11471
|
+
}>, never, never>;
|
|
11472
|
+
}>>, never, never>;
|
|
11473
|
+
readonly data: Schema.Struct<{
|
|
11474
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11475
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11476
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11477
|
+
};
|
|
11478
|
+
}>;
|
|
11479
|
+
}> & {
|
|
11480
|
+
type: "session.execution.succeeded";
|
|
11481
|
+
durability: "durable";
|
|
11482
|
+
durable: {
|
|
11483
|
+
readonly version: number;
|
|
11484
|
+
readonly aggregate: string;
|
|
11485
|
+
};
|
|
11486
|
+
data: Schema.Struct<{
|
|
11487
|
+
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11488
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11489
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11490
|
+
};
|
|
11491
|
+
}>;
|
|
11492
|
+
}) | (Schema.Struct<{
|
|
11493
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11494
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
11495
|
+
};
|
|
11496
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11497
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11498
|
+
readonly type: Schema.Literal<"session.execution.failed">;
|
|
11499
|
+
readonly durable: Schema.Struct<{
|
|
11500
|
+
readonly aggregateID: Schema.String;
|
|
11501
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
11502
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
11503
|
+
}>;
|
|
11504
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11505
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11506
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11507
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11508
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11509
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11510
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11511
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11512
|
+
}>, never, never>;
|
|
11513
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11514
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11515
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11516
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11517
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11518
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11519
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11520
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11521
|
+
}>, never, never>;
|
|
11522
|
+
}>>, never, never>;
|
|
11523
|
+
readonly data: Schema.Struct<{
|
|
11524
|
+
readonly error: Schema.Struct<{
|
|
11525
|
+
readonly type: Schema.String;
|
|
11246
11526
|
readonly message: Schema.String;
|
|
11247
|
-
}
|
|
11527
|
+
}>;
|
|
11248
11528
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11249
11529
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11250
11530
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11251
11531
|
};
|
|
11252
11532
|
}>;
|
|
11253
11533
|
}> & {
|
|
11254
|
-
type: "session.execution.
|
|
11255
|
-
durability: "
|
|
11256
|
-
durable:
|
|
11534
|
+
type: "session.execution.failed";
|
|
11535
|
+
durability: "durable";
|
|
11536
|
+
durable: {
|
|
11537
|
+
readonly version: number;
|
|
11538
|
+
readonly aggregate: string;
|
|
11539
|
+
};
|
|
11257
11540
|
data: Schema.Struct<{
|
|
11258
|
-
readonly
|
|
11259
|
-
|
|
11260
|
-
readonly type: Schema.Literal<"unknown">;
|
|
11261
|
-
readonly message: Schema.String;
|
|
11262
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11263
|
-
readonly type: Schema.Literal<"unknown">;
|
|
11541
|
+
readonly error: Schema.Struct<{
|
|
11542
|
+
readonly type: Schema.String;
|
|
11264
11543
|
readonly message: Schema.String;
|
|
11265
|
-
}
|
|
11544
|
+
}>;
|
|
11545
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11546
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11547
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11548
|
+
};
|
|
11549
|
+
}>;
|
|
11550
|
+
}) | (Schema.Struct<{
|
|
11551
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11552
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
11553
|
+
};
|
|
11554
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11555
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11556
|
+
readonly type: Schema.Literal<"session.execution.interrupted">;
|
|
11557
|
+
readonly durable: Schema.Struct<{
|
|
11558
|
+
readonly aggregateID: Schema.String;
|
|
11559
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
11560
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
11561
|
+
}>;
|
|
11562
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11563
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11564
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11565
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11566
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11567
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11568
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11569
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11570
|
+
}>, never, never>;
|
|
11571
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11572
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11573
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11574
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11575
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11576
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
11577
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11578
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
11579
|
+
}>, never, never>;
|
|
11580
|
+
}>>, never, never>;
|
|
11581
|
+
readonly data: Schema.Struct<{
|
|
11582
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
11583
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11584
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11585
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11586
|
+
};
|
|
11587
|
+
}>;
|
|
11588
|
+
}> & {
|
|
11589
|
+
type: "session.execution.interrupted";
|
|
11590
|
+
durability: "durable";
|
|
11591
|
+
durable: {
|
|
11592
|
+
readonly version: number;
|
|
11593
|
+
readonly aggregate: string;
|
|
11594
|
+
};
|
|
11595
|
+
data: Schema.Struct<{
|
|
11596
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
11266
11597
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11267
11598
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11268
11599
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11746,7 +12077,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11746
12077
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11747
12078
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11748
12079
|
};
|
|
11749
|
-
readonly finish: Schema.
|
|
12080
|
+
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
11750
12081
|
readonly cost: Schema.Finite;
|
|
11751
12082
|
readonly tokens: Schema.Struct<{
|
|
11752
12083
|
readonly input: Schema.Finite;
|
|
@@ -11776,7 +12107,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11776
12107
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11777
12108
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11778
12109
|
};
|
|
11779
|
-
readonly finish: Schema.
|
|
12110
|
+
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
11780
12111
|
readonly cost: Schema.Finite;
|
|
11781
12112
|
readonly tokens: Schema.Struct<{
|
|
11782
12113
|
readonly input: Schema.Finite;
|
|
@@ -11831,7 +12162,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11831
12162
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11832
12163
|
};
|
|
11833
12164
|
readonly error: Schema.Struct<{
|
|
11834
|
-
readonly type: Schema.
|
|
12165
|
+
readonly type: Schema.String;
|
|
11835
12166
|
readonly message: Schema.String;
|
|
11836
12167
|
}>;
|
|
11837
12168
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -11852,7 +12183,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11852
12183
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11853
12184
|
};
|
|
11854
12185
|
readonly error: Schema.Struct<{
|
|
11855
|
-
readonly type: Schema.
|
|
12186
|
+
readonly type: Schema.String;
|
|
11856
12187
|
readonly message: Schema.String;
|
|
11857
12188
|
}>;
|
|
11858
12189
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -11896,7 +12227,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11896
12227
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11897
12228
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11898
12229
|
};
|
|
11899
|
-
readonly
|
|
12230
|
+
readonly ordinal: Schema.Int;
|
|
11900
12231
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11901
12232
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11902
12233
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11914,7 +12245,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11914
12245
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11915
12246
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11916
12247
|
};
|
|
11917
|
-
readonly
|
|
12248
|
+
readonly ordinal: Schema.Int;
|
|
11918
12249
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11919
12250
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11920
12251
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11951,7 +12282,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11951
12282
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11952
12283
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11953
12284
|
};
|
|
11954
|
-
readonly
|
|
12285
|
+
readonly ordinal: Schema.Int;
|
|
11955
12286
|
readonly delta: Schema.String;
|
|
11956
12287
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11957
12288
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11967,7 +12298,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11967
12298
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11968
12299
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11969
12300
|
};
|
|
11970
|
-
readonly
|
|
12301
|
+
readonly ordinal: Schema.Int;
|
|
11971
12302
|
readonly delta: Schema.String;
|
|
11972
12303
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11973
12304
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12010,7 +12341,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12010
12341
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12011
12342
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12012
12343
|
};
|
|
12013
|
-
readonly
|
|
12344
|
+
readonly ordinal: Schema.Int;
|
|
12014
12345
|
readonly text: Schema.String;
|
|
12015
12346
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12016
12347
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12029,7 +12360,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12029
12360
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12030
12361
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12031
12362
|
};
|
|
12032
|
-
readonly
|
|
12363
|
+
readonly ordinal: Schema.Int;
|
|
12033
12364
|
readonly text: Schema.String;
|
|
12034
12365
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12035
12366
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12072,8 +12403,8 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12072
12403
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12073
12404
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12074
12405
|
};
|
|
12075
|
-
readonly
|
|
12076
|
-
readonly
|
|
12406
|
+
readonly ordinal: Schema.Int;
|
|
12407
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12077
12408
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12078
12409
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12079
12410
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12091,8 +12422,8 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12091
12422
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12092
12423
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12093
12424
|
};
|
|
12094
|
-
readonly
|
|
12095
|
-
readonly
|
|
12425
|
+
readonly ordinal: Schema.Int;
|
|
12426
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12096
12427
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12097
12428
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12098
12429
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12129,7 +12460,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12129
12460
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12130
12461
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12131
12462
|
};
|
|
12132
|
-
readonly
|
|
12463
|
+
readonly ordinal: Schema.Int;
|
|
12133
12464
|
readonly delta: Schema.String;
|
|
12134
12465
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12135
12466
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12145,7 +12476,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12145
12476
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12146
12477
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12147
12478
|
};
|
|
12148
|
-
readonly
|
|
12479
|
+
readonly ordinal: Schema.Int;
|
|
12149
12480
|
readonly delta: Schema.String;
|
|
12150
12481
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12151
12482
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12188,9 +12519,9 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12188
12519
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12189
12520
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12190
12521
|
};
|
|
12191
|
-
readonly
|
|
12522
|
+
readonly ordinal: Schema.Int;
|
|
12192
12523
|
readonly text: Schema.String;
|
|
12193
|
-
readonly
|
|
12524
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12194
12525
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12195
12526
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12196
12527
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12208,9 +12539,9 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12208
12539
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12209
12540
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12210
12541
|
};
|
|
12211
|
-
readonly
|
|
12542
|
+
readonly ordinal: Schema.Int;
|
|
12212
12543
|
readonly text: Schema.String;
|
|
12213
|
-
readonly
|
|
12544
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12214
12545
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12215
12546
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12216
12547
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12426,12 +12757,9 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12426
12757
|
}>, never, never>;
|
|
12427
12758
|
}>>, never, never>;
|
|
12428
12759
|
readonly data: Schema.Struct<{
|
|
12429
|
-
readonly tool: Schema.String;
|
|
12430
12760
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12431
|
-
readonly
|
|
12432
|
-
|
|
12433
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
12434
|
-
}>;
|
|
12761
|
+
readonly executed: Schema.Boolean;
|
|
12762
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12435
12763
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12436
12764
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12437
12765
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -12450,12 +12778,9 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12450
12778
|
readonly aggregate: string;
|
|
12451
12779
|
};
|
|
12452
12780
|
data: Schema.Struct<{
|
|
12453
|
-
readonly tool: Schema.String;
|
|
12454
12781
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12455
|
-
readonly
|
|
12456
|
-
|
|
12457
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
12458
|
-
}>;
|
|
12782
|
+
readonly executed: Schema.Boolean;
|
|
12783
|
+
readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12459
12784
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12460
12785
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12461
12786
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -12590,10 +12915,8 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12590
12915
|
}>]>>;
|
|
12591
12916
|
readonly outputPaths: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
12592
12917
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
12593
|
-
readonly
|
|
12594
|
-
|
|
12595
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
12596
|
-
}>;
|
|
12918
|
+
readonly executed: Schema.Boolean;
|
|
12919
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12597
12920
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12598
12921
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12599
12922
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -12624,10 +12947,8 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12624
12947
|
}>]>>;
|
|
12625
12948
|
readonly outputPaths: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
12626
12949
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
12627
|
-
readonly
|
|
12628
|
-
|
|
12629
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
12630
|
-
}>;
|
|
12950
|
+
readonly executed: Schema.Boolean;
|
|
12951
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12631
12952
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12632
12953
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12633
12954
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -12671,14 +12992,12 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12671
12992
|
}>>, never, never>;
|
|
12672
12993
|
readonly data: Schema.Struct<{
|
|
12673
12994
|
readonly error: Schema.Struct<{
|
|
12674
|
-
readonly type: Schema.
|
|
12995
|
+
readonly type: Schema.String;
|
|
12675
12996
|
readonly message: Schema.String;
|
|
12676
12997
|
}>;
|
|
12677
12998
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
12678
|
-
readonly
|
|
12679
|
-
|
|
12680
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
12681
|
-
}>;
|
|
12999
|
+
readonly executed: Schema.Boolean;
|
|
13000
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12682
13001
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12683
13002
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12684
13003
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -12698,14 +13017,12 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12698
13017
|
};
|
|
12699
13018
|
data: Schema.Struct<{
|
|
12700
13019
|
readonly error: Schema.Struct<{
|
|
12701
|
-
readonly type: Schema.
|
|
13020
|
+
readonly type: Schema.String;
|
|
12702
13021
|
readonly message: Schema.String;
|
|
12703
13022
|
}>;
|
|
12704
13023
|
readonly result: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Unknown>>, Schema.optionalKey<Schema.Unknown>, never, never>;
|
|
12705
|
-
readonly
|
|
12706
|
-
|
|
12707
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>, never, never>;
|
|
12708
|
-
}>;
|
|
13024
|
+
readonly executed: Schema.Boolean;
|
|
13025
|
+
readonly resultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12709
13026
|
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12710
13027
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12711
13028
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -12722,7 +13039,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12722
13039
|
};
|
|
12723
13040
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12724
13041
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12725
|
-
readonly type: Schema.Literal<"session.
|
|
13042
|
+
readonly type: Schema.Literal<"session.retry.scheduled">;
|
|
12726
13043
|
readonly durable: Schema.Struct<{
|
|
12727
13044
|
readonly aggregateID: Schema.String;
|
|
12728
13045
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12748,14 +13065,15 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12748
13065
|
}>, never, never>;
|
|
12749
13066
|
}>>, never, never>;
|
|
12750
13067
|
readonly data: Schema.Struct<{
|
|
12751
|
-
readonly
|
|
13068
|
+
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
13069
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13070
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13071
|
+
};
|
|
13072
|
+
readonly attempt: Schema.Int;
|
|
13073
|
+
readonly at: Schema.Int;
|
|
12752
13074
|
readonly error: Schema.Struct<{
|
|
13075
|
+
readonly type: Schema.String;
|
|
12753
13076
|
readonly message: Schema.String;
|
|
12754
|
-
readonly statusCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12755
|
-
readonly isRetryable: Schema.Boolean;
|
|
12756
|
-
readonly responseHeaders: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
12757
|
-
readonly responseBody: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12758
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
12759
13077
|
}>;
|
|
12760
13078
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12761
13079
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -12763,21 +13081,22 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12763
13081
|
};
|
|
12764
13082
|
}>;
|
|
12765
13083
|
}> & {
|
|
12766
|
-
type: "session.
|
|
13084
|
+
type: "session.retry.scheduled";
|
|
12767
13085
|
durability: "durable";
|
|
12768
13086
|
durable: {
|
|
12769
13087
|
readonly version: number;
|
|
12770
13088
|
readonly aggregate: string;
|
|
12771
13089
|
};
|
|
12772
13090
|
data: Schema.Struct<{
|
|
12773
|
-
readonly
|
|
13091
|
+
readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
13092
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13093
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13094
|
+
};
|
|
13095
|
+
readonly attempt: Schema.Int;
|
|
13096
|
+
readonly at: Schema.Int;
|
|
12774
13097
|
readonly error: Schema.Struct<{
|
|
13098
|
+
readonly type: Schema.String;
|
|
12775
13099
|
readonly message: Schema.String;
|
|
12776
|
-
readonly statusCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12777
|
-
readonly isRetryable: Schema.Boolean;
|
|
12778
|
-
readonly responseHeaders: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
12779
|
-
readonly responseBody: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12780
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
12781
13100
|
}>;
|
|
12782
13101
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12783
13102
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -13112,7 +13431,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
13112
13431
|
}>, never, never>;
|
|
13113
13432
|
}>>, never, never>;
|
|
13114
13433
|
readonly data: Schema.Struct<{
|
|
13115
|
-
readonly
|
|
13434
|
+
readonly to: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
13116
13435
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13117
13436
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13118
13437
|
};
|
|
@@ -13129,7 +13448,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
13129
13448
|
readonly aggregate: string;
|
|
13130
13449
|
};
|
|
13131
13450
|
data: Schema.Struct<{
|
|
13132
|
-
readonly
|
|
13451
|
+
readonly to: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
13133
13452
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13134
13453
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
13135
13454
|
};
|