@livekit/protocol 1.45.7 → 1.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +150 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +352 -16
- package/dist/index.d.mts +352 -16
- package/dist/index.d.ts +352 -16
- package/dist/index.mjs +149 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +208 -0
- package/src/gen/agent/livekit_agent_session_pb.js +76 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +6 -6
- package/src/gen/livekit_agent_dispatch_pb.js +3 -3
- package/src/gen/livekit_agent_pb.d.ts +4 -4
- package/src/gen/livekit_agent_pb.js +2 -2
- package/src/gen/livekit_agent_simulation_pb.d.ts +70 -0
- package/src/gen/livekit_agent_simulation_pb.js +14 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +14 -14
- package/src/gen/livekit_cloud_agent_pb.js +7 -7
- package/src/gen/livekit_egress_pb.d.ts +15 -1
- package/src/gen/livekit_egress_pb.js +3 -1
- package/src/gen/livekit_sip_pb.d.ts +106 -4
- package/src/gen/livekit_sip_pb.js +29 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -783,6 +783,40 @@ export declare class InterruptionModelUsage extends Message<InterruptionModelUsa
|
|
|
783
783
|
static equals(a: InterruptionModelUsage | PlainMessage<InterruptionModelUsage> | undefined, b: InterruptionModelUsage | PlainMessage<InterruptionModelUsage> | undefined): boolean;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
+
/**
|
|
787
|
+
* @generated from message livekit.agent.EotModelUsage
|
|
788
|
+
*/
|
|
789
|
+
export declare class EotModelUsage extends Message<EotModelUsage> {
|
|
790
|
+
/**
|
|
791
|
+
* @generated from field: string provider = 1;
|
|
792
|
+
*/
|
|
793
|
+
provider: string;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* @generated from field: string model = 2;
|
|
797
|
+
*/
|
|
798
|
+
model: string;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* @generated from field: int32 total_requests = 3;
|
|
802
|
+
*/
|
|
803
|
+
totalRequests: number;
|
|
804
|
+
|
|
805
|
+
constructor(data?: PartialMessage<EotModelUsage>);
|
|
806
|
+
|
|
807
|
+
static readonly runtime: typeof proto3;
|
|
808
|
+
static readonly typeName = "livekit.agent.EotModelUsage";
|
|
809
|
+
static readonly fields: FieldList;
|
|
810
|
+
|
|
811
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotModelUsage;
|
|
812
|
+
|
|
813
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotModelUsage;
|
|
814
|
+
|
|
815
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotModelUsage;
|
|
816
|
+
|
|
817
|
+
static equals(a: EotModelUsage | PlainMessage<EotModelUsage> | undefined, b: EotModelUsage | PlainMessage<EotModelUsage> | undefined): boolean;
|
|
818
|
+
}
|
|
819
|
+
|
|
786
820
|
/**
|
|
787
821
|
* @generated from message livekit.agent.ModelUsage
|
|
788
822
|
*/
|
|
@@ -814,6 +848,12 @@ export declare class ModelUsage extends Message<ModelUsage> {
|
|
|
814
848
|
*/
|
|
815
849
|
value: InterruptionModelUsage;
|
|
816
850
|
case: "interruption";
|
|
851
|
+
} | {
|
|
852
|
+
/**
|
|
853
|
+
* @generated from field: livekit.agent.EotModelUsage eot = 5;
|
|
854
|
+
*/
|
|
855
|
+
value: EotModelUsage;
|
|
856
|
+
case: "eot";
|
|
817
857
|
} | { case: undefined; value?: undefined };
|
|
818
858
|
|
|
819
859
|
constructor(data?: PartialMessage<ModelUsage>);
|
|
@@ -921,6 +961,12 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
921
961
|
*/
|
|
922
962
|
value: AgentSessionEvent_AmdPrediction;
|
|
923
963
|
case: "amdPrediction";
|
|
964
|
+
} | {
|
|
965
|
+
/**
|
|
966
|
+
* @generated from field: livekit.agent.AgentSessionEvent.EotPrediction eot_prediction = 19;
|
|
967
|
+
*/
|
|
968
|
+
value: AgentSessionEvent_EotPrediction;
|
|
969
|
+
case: "eotPrediction";
|
|
924
970
|
} | { case: undefined; value?: undefined };
|
|
925
971
|
|
|
926
972
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1190,6 +1236,45 @@ export declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessio
|
|
|
1190
1236
|
static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
|
|
1191
1237
|
}
|
|
1192
1238
|
|
|
1239
|
+
/**
|
|
1240
|
+
* @generated from message livekit.agent.AgentSessionEvent.EotPrediction
|
|
1241
|
+
*/
|
|
1242
|
+
export declare class AgentSessionEvent_EotPrediction extends Message<AgentSessionEvent_EotPrediction> {
|
|
1243
|
+
/**
|
|
1244
|
+
* @generated from field: float probability = 1;
|
|
1245
|
+
*/
|
|
1246
|
+
probability: number;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* @generated from field: float threshold = 2;
|
|
1250
|
+
*/
|
|
1251
|
+
threshold: number;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* @generated from field: google.protobuf.Duration inference_duration = 3;
|
|
1255
|
+
*/
|
|
1256
|
+
inferenceDuration?: Duration;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* @generated from field: google.protobuf.Duration delay = 4;
|
|
1260
|
+
*/
|
|
1261
|
+
delay?: Duration;
|
|
1262
|
+
|
|
1263
|
+
constructor(data?: PartialMessage<AgentSessionEvent_EotPrediction>);
|
|
1264
|
+
|
|
1265
|
+
static readonly runtime: typeof proto3;
|
|
1266
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.EotPrediction";
|
|
1267
|
+
static readonly fields: FieldList;
|
|
1268
|
+
|
|
1269
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_EotPrediction;
|
|
1270
|
+
|
|
1271
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_EotPrediction;
|
|
1272
|
+
|
|
1273
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_EotPrediction;
|
|
1274
|
+
|
|
1275
|
+
static equals(a: AgentSessionEvent_EotPrediction | PlainMessage<AgentSessionEvent_EotPrediction> | undefined, b: AgentSessionEvent_EotPrediction | PlainMessage<AgentSessionEvent_EotPrediction> | undefined): boolean;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1193
1278
|
/**
|
|
1194
1279
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
1195
1280
|
*/
|
|
@@ -1274,6 +1359,12 @@ export declare class SessionRequest extends Message<SessionRequest> {
|
|
|
1274
1359
|
*/
|
|
1275
1360
|
value: SessionRequest_GetFrameworkInfo;
|
|
1276
1361
|
case: "getFrameworkInfo";
|
|
1362
|
+
} | {
|
|
1363
|
+
/**
|
|
1364
|
+
* @generated from field: livekit.agent.SessionRequest.UpdateIO update_io = 11;
|
|
1365
|
+
*/
|
|
1366
|
+
value: SessionRequest_UpdateIO;
|
|
1367
|
+
case: "updateIo";
|
|
1277
1368
|
} | { case: undefined; value?: undefined };
|
|
1278
1369
|
|
|
1279
1370
|
constructor(data?: PartialMessage<SessionRequest>);
|
|
@@ -1448,6 +1539,98 @@ export declare class SessionRequest_GetFrameworkInfo extends Message<SessionRequ
|
|
|
1448
1539
|
static equals(a: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined, b: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined): boolean;
|
|
1449
1540
|
}
|
|
1450
1541
|
|
|
1542
|
+
/**
|
|
1543
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO
|
|
1544
|
+
*/
|
|
1545
|
+
export declare class SessionRequest_UpdateIO extends Message<SessionRequest_UpdateIO> {
|
|
1546
|
+
/**
|
|
1547
|
+
* @generated from field: optional livekit.agent.SessionRequest.UpdateIO.Input input = 1;
|
|
1548
|
+
*/
|
|
1549
|
+
input?: SessionRequest_UpdateIO_Input;
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* @generated from field: optional livekit.agent.SessionRequest.UpdateIO.Output output = 2;
|
|
1553
|
+
*/
|
|
1554
|
+
output?: SessionRequest_UpdateIO_Output;
|
|
1555
|
+
|
|
1556
|
+
constructor(data?: PartialMessage<SessionRequest_UpdateIO>);
|
|
1557
|
+
|
|
1558
|
+
static readonly runtime: typeof proto3;
|
|
1559
|
+
static readonly typeName = "livekit.agent.SessionRequest.UpdateIO";
|
|
1560
|
+
static readonly fields: FieldList;
|
|
1561
|
+
|
|
1562
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO;
|
|
1563
|
+
|
|
1564
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO;
|
|
1565
|
+
|
|
1566
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO;
|
|
1567
|
+
|
|
1568
|
+
static equals(a: SessionRequest_UpdateIO | PlainMessage<SessionRequest_UpdateIO> | undefined, b: SessionRequest_UpdateIO | PlainMessage<SessionRequest_UpdateIO> | undefined): boolean;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO.Input
|
|
1573
|
+
*/
|
|
1574
|
+
export declare class SessionRequest_UpdateIO_Input extends Message<SessionRequest_UpdateIO_Input> {
|
|
1575
|
+
/**
|
|
1576
|
+
* @generated from field: optional bool audio_enabled = 1;
|
|
1577
|
+
*/
|
|
1578
|
+
audioEnabled?: boolean;
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* @generated from field: optional bool video_enabled = 2;
|
|
1582
|
+
*/
|
|
1583
|
+
videoEnabled?: boolean;
|
|
1584
|
+
|
|
1585
|
+
constructor(data?: PartialMessage<SessionRequest_UpdateIO_Input>);
|
|
1586
|
+
|
|
1587
|
+
static readonly runtime: typeof proto3;
|
|
1588
|
+
static readonly typeName = "livekit.agent.SessionRequest.UpdateIO.Input";
|
|
1589
|
+
static readonly fields: FieldList;
|
|
1590
|
+
|
|
1591
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO_Input;
|
|
1592
|
+
|
|
1593
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Input;
|
|
1594
|
+
|
|
1595
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Input;
|
|
1596
|
+
|
|
1597
|
+
static equals(a: SessionRequest_UpdateIO_Input | PlainMessage<SessionRequest_UpdateIO_Input> | undefined, b: SessionRequest_UpdateIO_Input | PlainMessage<SessionRequest_UpdateIO_Input> | undefined): boolean;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO.Output
|
|
1602
|
+
*/
|
|
1603
|
+
export declare class SessionRequest_UpdateIO_Output extends Message<SessionRequest_UpdateIO_Output> {
|
|
1604
|
+
/**
|
|
1605
|
+
* @generated from field: optional bool audio_enabled = 1;
|
|
1606
|
+
*/
|
|
1607
|
+
audioEnabled?: boolean;
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* @generated from field: optional bool video_enabled = 2;
|
|
1611
|
+
*/
|
|
1612
|
+
videoEnabled?: boolean;
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* @generated from field: optional bool transcription_enabled = 3;
|
|
1616
|
+
*/
|
|
1617
|
+
transcriptionEnabled?: boolean;
|
|
1618
|
+
|
|
1619
|
+
constructor(data?: PartialMessage<SessionRequest_UpdateIO_Output>);
|
|
1620
|
+
|
|
1621
|
+
static readonly runtime: typeof proto3;
|
|
1622
|
+
static readonly typeName = "livekit.agent.SessionRequest.UpdateIO.Output";
|
|
1623
|
+
static readonly fields: FieldList;
|
|
1624
|
+
|
|
1625
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO_Output;
|
|
1626
|
+
|
|
1627
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Output;
|
|
1628
|
+
|
|
1629
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Output;
|
|
1630
|
+
|
|
1631
|
+
static equals(a: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined, b: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined): boolean;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1451
1634
|
/**
|
|
1452
1635
|
* @generated from message livekit.agent.SessionResponse
|
|
1453
1636
|
*/
|
|
@@ -1513,6 +1696,12 @@ export declare class SessionResponse extends Message<SessionResponse> {
|
|
|
1513
1696
|
*/
|
|
1514
1697
|
value: SessionResponse_GetFrameworkInfoResponse;
|
|
1515
1698
|
case: "getFrameworkInfo";
|
|
1699
|
+
} | {
|
|
1700
|
+
/**
|
|
1701
|
+
* @generated from field: livekit.agent.SessionResponse.UpdateIOResponse update_io = 12;
|
|
1702
|
+
*/
|
|
1703
|
+
value: SessionResponse_UpdateIOResponse;
|
|
1704
|
+
case: "updateIo";
|
|
1516
1705
|
} | { case: undefined; value?: undefined };
|
|
1517
1706
|
|
|
1518
1707
|
constructor(data?: PartialMessage<SessionResponse>);
|
|
@@ -1767,6 +1956,25 @@ export declare class SessionResponse_GetFrameworkInfoResponse extends Message<Se
|
|
|
1767
1956
|
static equals(a: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined, b: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined): boolean;
|
|
1768
1957
|
}
|
|
1769
1958
|
|
|
1959
|
+
/**
|
|
1960
|
+
* @generated from message livekit.agent.SessionResponse.UpdateIOResponse
|
|
1961
|
+
*/
|
|
1962
|
+
export declare class SessionResponse_UpdateIOResponse extends Message<SessionResponse_UpdateIOResponse> {
|
|
1963
|
+
constructor(data?: PartialMessage<SessionResponse_UpdateIOResponse>);
|
|
1964
|
+
|
|
1965
|
+
static readonly runtime: typeof proto3;
|
|
1966
|
+
static readonly typeName = "livekit.agent.SessionResponse.UpdateIOResponse";
|
|
1967
|
+
static readonly fields: FieldList;
|
|
1968
|
+
|
|
1969
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_UpdateIOResponse;
|
|
1970
|
+
|
|
1971
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_UpdateIOResponse;
|
|
1972
|
+
|
|
1973
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_UpdateIOResponse;
|
|
1974
|
+
|
|
1975
|
+
static equals(a: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined, b: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined): boolean;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1770
1978
|
/**
|
|
1771
1979
|
* @generated from message livekit.agent.AgentSessionMessage
|
|
1772
1980
|
*/
|
|
@@ -264,6 +264,18 @@ export const InterruptionModelUsage = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
264
264
|
],
|
|
265
265
|
);
|
|
266
266
|
|
|
267
|
+
/**
|
|
268
|
+
* @generated from message livekit.agent.EotModelUsage
|
|
269
|
+
*/
|
|
270
|
+
export const EotModelUsage = /*@__PURE__*/ proto3.makeMessageType(
|
|
271
|
+
"livekit.agent.EotModelUsage",
|
|
272
|
+
() => [
|
|
273
|
+
{ no: 1, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
274
|
+
{ no: 2, name: "model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
275
|
+
{ no: 3, name: "total_requests", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
276
|
+
],
|
|
277
|
+
);
|
|
278
|
+
|
|
267
279
|
/**
|
|
268
280
|
* @generated from message livekit.agent.ModelUsage
|
|
269
281
|
*/
|
|
@@ -274,6 +286,7 @@ export const ModelUsage = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
274
286
|
{ no: 2, name: "tts", kind: "message", T: TTSModelUsage, oneof: "usage" },
|
|
275
287
|
{ no: 3, name: "stt", kind: "message", T: STTModelUsage, oneof: "usage" },
|
|
276
288
|
{ no: 4, name: "interruption", kind: "message", T: InterruptionModelUsage, oneof: "usage" },
|
|
289
|
+
{ no: 5, name: "eot", kind: "message", T: EotModelUsage, oneof: "usage" },
|
|
277
290
|
],
|
|
278
291
|
);
|
|
279
292
|
|
|
@@ -303,6 +316,7 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
303
316
|
{ no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
|
|
304
317
|
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
305
318
|
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
|
|
319
|
+
{ no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
|
|
306
320
|
],
|
|
307
321
|
);
|
|
308
322
|
|
|
@@ -406,6 +420,20 @@ export const AgentSessionEvent_AmdPrediction = /*@__PURE__*/ proto3.makeMessageT
|
|
|
406
420
|
{localName: "AgentSessionEvent_AmdPrediction"},
|
|
407
421
|
);
|
|
408
422
|
|
|
423
|
+
/**
|
|
424
|
+
* @generated from message livekit.agent.AgentSessionEvent.EotPrediction
|
|
425
|
+
*/
|
|
426
|
+
export const AgentSessionEvent_EotPrediction = /*@__PURE__*/ proto3.makeMessageType(
|
|
427
|
+
"livekit.agent.AgentSessionEvent.EotPrediction",
|
|
428
|
+
() => [
|
|
429
|
+
{ no: 1, name: "probability", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
430
|
+
{ no: 2, name: "threshold", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
431
|
+
{ no: 3, name: "inference_duration", kind: "message", T: Duration },
|
|
432
|
+
{ no: 4, name: "delay", kind: "message", T: Duration },
|
|
433
|
+
],
|
|
434
|
+
{localName: "AgentSessionEvent_EotPrediction"},
|
|
435
|
+
);
|
|
436
|
+
|
|
409
437
|
/**
|
|
410
438
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
411
439
|
*/
|
|
@@ -432,6 +460,7 @@ export const SessionRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
432
460
|
{ no: 8, name: "get_rtc_stats", kind: "message", T: SessionRequest_GetRTCStats, oneof: "request" },
|
|
433
461
|
{ no: 9, name: "get_session_usage", kind: "message", T: SessionRequest_GetSessionUsage, oneof: "request" },
|
|
434
462
|
{ no: 10, name: "get_framework_info", kind: "message", T: SessionRequest_GetFrameworkInfo, oneof: "request" },
|
|
463
|
+
{ no: 11, name: "update_io", kind: "message", T: SessionRequest_UpdateIO, oneof: "request" },
|
|
435
464
|
],
|
|
436
465
|
);
|
|
437
466
|
|
|
@@ -509,6 +538,43 @@ export const SessionRequest_GetFrameworkInfo = /*@__PURE__*/ proto3.makeMessageT
|
|
|
509
538
|
{localName: "SessionRequest_GetFrameworkInfo"},
|
|
510
539
|
);
|
|
511
540
|
|
|
541
|
+
/**
|
|
542
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO
|
|
543
|
+
*/
|
|
544
|
+
export const SessionRequest_UpdateIO = /*@__PURE__*/ proto3.makeMessageType(
|
|
545
|
+
"livekit.agent.SessionRequest.UpdateIO",
|
|
546
|
+
() => [
|
|
547
|
+
{ no: 1, name: "input", kind: "message", T: SessionRequest_UpdateIO_Input, opt: true },
|
|
548
|
+
{ no: 2, name: "output", kind: "message", T: SessionRequest_UpdateIO_Output, opt: true },
|
|
549
|
+
],
|
|
550
|
+
{localName: "SessionRequest_UpdateIO"},
|
|
551
|
+
);
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO.Input
|
|
555
|
+
*/
|
|
556
|
+
export const SessionRequest_UpdateIO_Input = /*@__PURE__*/ proto3.makeMessageType(
|
|
557
|
+
"livekit.agent.SessionRequest.UpdateIO.Input",
|
|
558
|
+
() => [
|
|
559
|
+
{ no: 1, name: "audio_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
560
|
+
{ no: 2, name: "video_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
561
|
+
],
|
|
562
|
+
{localName: "SessionRequest_UpdateIO_Input"},
|
|
563
|
+
);
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO.Output
|
|
567
|
+
*/
|
|
568
|
+
export const SessionRequest_UpdateIO_Output = /*@__PURE__*/ proto3.makeMessageType(
|
|
569
|
+
"livekit.agent.SessionRequest.UpdateIO.Output",
|
|
570
|
+
() => [
|
|
571
|
+
{ no: 1, name: "audio_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
572
|
+
{ no: 2, name: "video_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
573
|
+
{ no: 3, name: "transcription_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
574
|
+
],
|
|
575
|
+
{localName: "SessionRequest_UpdateIO_Output"},
|
|
576
|
+
);
|
|
577
|
+
|
|
512
578
|
/**
|
|
513
579
|
* @generated from message livekit.agent.SessionResponse
|
|
514
580
|
*/
|
|
@@ -525,6 +591,7 @@ export const SessionResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
525
591
|
{ no: 9, name: "get_rtc_stats", kind: "message", T: SessionResponse_GetRTCStatsResponse, oneof: "response" },
|
|
526
592
|
{ no: 10, name: "get_session_usage", kind: "message", T: SessionResponse_GetSessionUsageResponse, oneof: "response" },
|
|
527
593
|
{ no: 11, name: "get_framework_info", kind: "message", T: SessionResponse_GetFrameworkInfoResponse, oneof: "response" },
|
|
594
|
+
{ no: 12, name: "update_io", kind: "message", T: SessionResponse_UpdateIOResponse, oneof: "response" },
|
|
528
595
|
],
|
|
529
596
|
);
|
|
530
597
|
|
|
@@ -624,6 +691,15 @@ export const SessionResponse_GetFrameworkInfoResponse = /*@__PURE__*/ proto3.mak
|
|
|
624
691
|
{localName: "SessionResponse_GetFrameworkInfoResponse"},
|
|
625
692
|
);
|
|
626
693
|
|
|
694
|
+
/**
|
|
695
|
+
* @generated from message livekit.agent.SessionResponse.UpdateIOResponse
|
|
696
|
+
*/
|
|
697
|
+
export const SessionResponse_UpdateIOResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
698
|
+
"livekit.agent.SessionResponse.UpdateIOResponse",
|
|
699
|
+
[],
|
|
700
|
+
{localName: "SessionResponse_UpdateIOResponse"},
|
|
701
|
+
);
|
|
702
|
+
|
|
627
703
|
/**
|
|
628
704
|
* @generated from message livekit.agent.AgentSessionMessage
|
|
629
705
|
*/
|
|
@@ -67,9 +67,9 @@ export declare class CreateAgentDispatchRequest extends Message<CreateAgentDispa
|
|
|
67
67
|
restartPolicy: JobRestartPolicy;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* @generated from field: string
|
|
70
|
+
* @generated from field: string deployment = 5;
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
deployment: string;
|
|
73
73
|
|
|
74
74
|
constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
|
|
75
75
|
|
|
@@ -108,9 +108,9 @@ export declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
|
|
|
108
108
|
restartPolicy: JobRestartPolicy;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* @generated from field: string
|
|
111
|
+
* @generated from field: string deployment = 4;
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
deployment: string;
|
|
114
114
|
|
|
115
115
|
constructor(data?: PartialMessage<RoomAgentDispatch>);
|
|
116
116
|
|
|
@@ -250,9 +250,9 @@ export declare class AgentDispatch extends Message<AgentDispatch> {
|
|
|
250
250
|
restartPolicy: JobRestartPolicy;
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
|
-
* @generated from field: string
|
|
253
|
+
* @generated from field: string deployment = 7;
|
|
254
254
|
*/
|
|
255
|
-
|
|
255
|
+
deployment: string;
|
|
256
256
|
|
|
257
257
|
constructor(data?: PartialMessage<AgentDispatch>);
|
|
258
258
|
|
|
@@ -41,7 +41,7 @@ export const CreateAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
41
41
|
{ no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
42
|
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
43
|
{ no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
44
|
-
{ no: 5, name: "
|
|
44
|
+
{ no: 5, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
45
45
|
],
|
|
46
46
|
);
|
|
47
47
|
|
|
@@ -54,7 +54,7 @@ export const RoomAgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
54
54
|
{ no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
55
|
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
56
|
{ no: 3, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
57
|
-
{ no: 4, name: "
|
|
57
|
+
{ no: 4, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
58
|
],
|
|
59
59
|
);
|
|
60
60
|
|
|
@@ -102,7 +102,7 @@ export const AgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
102
102
|
{ no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
103
103
|
{ no: 5, name: "state", kind: "message", T: AgentDispatchState },
|
|
104
104
|
{ no: 6, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
105
|
-
{ no: 7, name: "
|
|
105
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
106
106
|
],
|
|
107
107
|
);
|
|
108
108
|
|
|
@@ -137,9 +137,9 @@ export declare class Job extends Message<Job> {
|
|
|
137
137
|
enableRecording: boolean;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* @generated from field: string
|
|
140
|
+
* @generated from field: string deployment = 11;
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
deployment: string;
|
|
143
143
|
|
|
144
144
|
constructor(data?: PartialMessage<Job>);
|
|
145
145
|
|
|
@@ -477,9 +477,9 @@ export declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest
|
|
|
477
477
|
allowedPermissions?: ParticipantPermission;
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
-
* @generated from field: string
|
|
480
|
+
* @generated from field: string deployment = 9;
|
|
481
481
|
*/
|
|
482
|
-
|
|
482
|
+
deployment: string;
|
|
483
483
|
|
|
484
484
|
constructor(data?: PartialMessage<RegisterWorkerRequest>);
|
|
485
485
|
|
|
@@ -72,7 +72,7 @@ export const Job = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
72
72
|
{ no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
73
|
{ no: 8, name: "state", kind: "message", T: JobState },
|
|
74
74
|
{ no: 10, name: "enable_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
75
|
-
{ no: 11, name: "
|
|
75
|
+
{ no: 11, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
76
|
],
|
|
77
77
|
);
|
|
78
78
|
|
|
@@ -172,7 +172,7 @@ export const RegisterWorkerRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
172
172
|
{ no: 5, name: "ping_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
173
173
|
{ no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
174
174
|
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
|
|
175
|
-
{ no: 9, name: "
|
|
175
|
+
{ no: 9, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
176
|
],
|
|
177
177
|
);
|
|
178
178
|
|
|
@@ -145,6 +145,41 @@ export declare class SimulationRun extends Message<SimulationRun> {
|
|
|
145
145
|
*/
|
|
146
146
|
summary?: SimulationRunSummary;
|
|
147
147
|
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: string agent_name = 9;
|
|
150
|
+
*/
|
|
151
|
+
agentName: string;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: livekit.ScenarioGroup scenario_group = 10;
|
|
155
|
+
*/
|
|
156
|
+
scenarioGroup?: ScenarioGroup;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: google.protobuf.Timestamp ended_at = 11;
|
|
160
|
+
*/
|
|
161
|
+
endedAt?: Timestamp;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: int32 job_count = 12;
|
|
165
|
+
*/
|
|
166
|
+
jobCount: number;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: int32 passed_count = 13;
|
|
170
|
+
*/
|
|
171
|
+
passedCount: number;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: int32 failed_count = 14;
|
|
175
|
+
*/
|
|
176
|
+
failedCount: number;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: int32 num_simulations = 15;
|
|
180
|
+
*/
|
|
181
|
+
numSimulations: number;
|
|
182
|
+
|
|
148
183
|
constructor(data?: PartialMessage<SimulationRun>);
|
|
149
184
|
|
|
150
185
|
static readonly runtime: typeof proto3;
|
|
@@ -234,6 +269,36 @@ export declare class SimulationRun_Job extends Message<SimulationRun_Job> {
|
|
|
234
269
|
*/
|
|
235
270
|
label: string;
|
|
236
271
|
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: repeated string tags = 7;
|
|
274
|
+
*/
|
|
275
|
+
tags: string[];
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: string room_name = 8;
|
|
279
|
+
*/
|
|
280
|
+
roomName: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: string scenario_id = 9;
|
|
284
|
+
*/
|
|
285
|
+
scenarioId: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: google.protobuf.Timestamp started_at = 10;
|
|
289
|
+
*/
|
|
290
|
+
startedAt?: Timestamp;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: google.protobuf.Timestamp ended_at = 11;
|
|
294
|
+
*/
|
|
295
|
+
endedAt?: Timestamp;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string room_id = 12;
|
|
299
|
+
*/
|
|
300
|
+
roomId: string;
|
|
301
|
+
|
|
237
302
|
constructor(data?: PartialMessage<SimulationRun_Job>);
|
|
238
303
|
|
|
239
304
|
static readonly runtime: typeof proto3;
|
|
@@ -1287,6 +1352,11 @@ export declare class ScenarioGroup extends Message<ScenarioGroup> {
|
|
|
1287
1352
|
*/
|
|
1288
1353
|
scenarios: Scenario[];
|
|
1289
1354
|
|
|
1355
|
+
/**
|
|
1356
|
+
* @generated from field: int32 scenario_count = 6;
|
|
1357
|
+
*/
|
|
1358
|
+
scenarioCount: number;
|
|
1359
|
+
|
|
1290
1360
|
constructor(data?: PartialMessage<ScenarioGroup>);
|
|
1291
1361
|
|
|
1292
1362
|
static readonly runtime: typeof proto3;
|
|
@@ -63,6 +63,13 @@ export const SimulationRun = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
63
63
|
{ no: 6, name: "created_at", kind: "message", T: Timestamp },
|
|
64
64
|
{ no: 7, name: "jobs", kind: "message", T: SimulationRun_Job, repeated: true },
|
|
65
65
|
{ no: 8, name: "summary", kind: "message", T: SimulationRunSummary },
|
|
66
|
+
{ no: 9, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
67
|
+
{ no: 10, name: "scenario_group", kind: "message", T: ScenarioGroup },
|
|
68
|
+
{ no: 11, name: "ended_at", kind: "message", T: Timestamp },
|
|
69
|
+
{ no: 12, name: "job_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
70
|
+
{ no: 13, name: "passed_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
71
|
+
{ no: 14, name: "failed_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
72
|
+
{ no: 15, name: "num_simulations", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
66
73
|
],
|
|
67
74
|
);
|
|
68
75
|
|
|
@@ -94,6 +101,12 @@ export const SimulationRun_Job = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
94
101
|
{ no: 4, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
95
102
|
{ no: 5, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
96
103
|
{ no: 6, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
104
|
+
{ no: 7, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
105
|
+
{ no: 8, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
106
|
+
{ no: 9, name: "scenario_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
107
|
+
{ no: 10, name: "started_at", kind: "message", T: Timestamp },
|
|
108
|
+
{ no: 11, name: "ended_at", kind: "message", T: Timestamp },
|
|
109
|
+
{ no: 12, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
97
110
|
],
|
|
98
111
|
{localName: "SimulationRun_Job"},
|
|
99
112
|
);
|
|
@@ -515,6 +528,7 @@ export const ScenarioGroup = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
515
528
|
{ no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
516
529
|
{ no: 4, name: "created_at", kind: "message", T: Timestamp },
|
|
517
530
|
{ no: 5, name: "scenarios", kind: "message", T: Scenario, repeated: true },
|
|
531
|
+
{ no: 6, name: "scenario_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
518
532
|
],
|
|
519
533
|
);
|
|
520
534
|
|