@livekit/protocol 1.45.8 → 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 +107 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +252 -1
- package/dist/index.d.mts +252 -1
- package/dist/index.d.ts +252 -1
- package/dist/index.mjs +107 -8
- 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_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 +17 -0
- package/src/gen/livekit_sip_pb.js +3 -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
|
*/
|
|
@@ -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
|
|
|
@@ -129,9 +129,9 @@ export declare class AgentSecret extends Message<AgentSecret> {
|
|
|
129
129
|
kind: AgentSecretKind;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* @generated from field: repeated string
|
|
132
|
+
* @generated from field: repeated string deployments = 6;
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
deployments: string[];
|
|
135
135
|
|
|
136
136
|
constructor(data?: PartialMessage<AgentSecret>);
|
|
137
137
|
|
|
@@ -427,9 +427,9 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
|
|
|
427
427
|
events: AgentEvent[];
|
|
428
428
|
|
|
429
429
|
/**
|
|
430
|
-
* @generated from field: string
|
|
430
|
+
* @generated from field: string deployment = 15;
|
|
431
431
|
*/
|
|
432
|
-
|
|
432
|
+
deployment: string;
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
435
|
* @generated from field: string version = 16;
|
|
@@ -854,9 +854,9 @@ export declare class DeployAgentRequest extends Message<DeployAgentRequest> {
|
|
|
854
854
|
cpuReq: string;
|
|
855
855
|
|
|
856
856
|
/**
|
|
857
|
-
* @generated from field: string
|
|
857
|
+
* @generated from field: string deployment = 7;
|
|
858
858
|
*/
|
|
859
|
-
|
|
859
|
+
deployment: string;
|
|
860
860
|
|
|
861
861
|
constructor(data?: PartialMessage<DeployAgentRequest>);
|
|
862
862
|
|
|
@@ -909,9 +909,9 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
|
|
|
909
909
|
presignedPostRequest?: PresignedPostRequest;
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
|
-
* @generated from field: string
|
|
912
|
+
* @generated from field: string deployment = 7;
|
|
913
913
|
*/
|
|
914
|
-
|
|
914
|
+
deployment: string;
|
|
915
915
|
|
|
916
916
|
constructor(data?: PartialMessage<DeployAgentResponse>);
|
|
917
917
|
|
|
@@ -943,9 +943,9 @@ export declare class DeployAgentV2Request extends Message<DeployAgentV2Request>
|
|
|
943
943
|
secrets: AgentSecret[];
|
|
944
944
|
|
|
945
945
|
/**
|
|
946
|
-
* @generated from field: string
|
|
946
|
+
* @generated from field: string deployment = 3;
|
|
947
947
|
*/
|
|
948
|
-
|
|
948
|
+
deployment: string;
|
|
949
949
|
|
|
950
950
|
constructor(data?: PartialMessage<DeployAgentV2Request>);
|
|
951
951
|
|
|
@@ -992,9 +992,9 @@ export declare class DeployAgentV2Response extends Message<DeployAgentV2Response
|
|
|
992
992
|
presignedReq?: PresignedPostRequest;
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
|
-
* @generated from field: string
|
|
995
|
+
* @generated from field: string deployment = 6;
|
|
996
996
|
*/
|
|
997
|
-
|
|
997
|
+
deployment: string;
|
|
998
998
|
|
|
999
999
|
constructor(data?: PartialMessage<DeployAgentV2Response>);
|
|
1000
1000
|
|
|
@@ -1164,9 +1164,9 @@ export declare class DeleteAgentRequest extends Message<DeleteAgentRequest> {
|
|
|
1164
1164
|
/**
|
|
1165
1165
|
* optional
|
|
1166
1166
|
*
|
|
1167
|
-
* @generated from field: string
|
|
1167
|
+
* @generated from field: string deployment = 3;
|
|
1168
1168
|
*/
|
|
1169
|
-
|
|
1169
|
+
deployment: string;
|
|
1170
1170
|
|
|
1171
1171
|
constructor(data?: PartialMessage<DeleteAgentRequest>);
|
|
1172
1172
|
|
|
@@ -67,7 +67,7 @@ export const AgentSecret = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
67
67
|
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
68
68
|
{ no: 4, name: "updated_at", kind: "message", T: Timestamp },
|
|
69
69
|
{ no: 5, name: "kind", kind: "enum", T: proto3.getEnumType(AgentSecretKind) },
|
|
70
|
-
{ no: 6, name: "
|
|
70
|
+
{ no: 6, name: "deployments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
71
71
|
],
|
|
72
72
|
);
|
|
73
73
|
|
|
@@ -157,7 +157,7 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
157
157
|
{ no: 12, name: "cpu_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
158
158
|
{ no: 13, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
159
159
|
{ no: 14, name: "events", kind: "message", T: AgentEvent, repeated: true },
|
|
160
|
-
{ no: 15, name: "
|
|
160
|
+
{ no: 15, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
161
|
{ no: 16, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
162
|
{ no: 17, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
163
|
],
|
|
@@ -298,7 +298,7 @@ export const DeployAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
298
298
|
{ no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
299
299
|
{ no: 5, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
300
300
|
{ no: 6, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
301
|
-
{ no: 7, name: "
|
|
301
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
302
302
|
],
|
|
303
303
|
);
|
|
304
304
|
|
|
@@ -314,7 +314,7 @@ export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
314
314
|
{ no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
315
315
|
{ no: 5, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
316
316
|
{ no: 6, name: "presigned_post_request", kind: "message", T: PresignedPostRequest },
|
|
317
|
-
{ no: 7, name: "
|
|
317
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
318
|
],
|
|
319
319
|
);
|
|
320
320
|
|
|
@@ -326,7 +326,7 @@ export const DeployAgentV2Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
326
326
|
() => [
|
|
327
327
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
328
328
|
{ no: 2, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
329
|
-
{ no: 3, name: "
|
|
329
|
+
{ no: 3, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
330
330
|
],
|
|
331
331
|
);
|
|
332
332
|
|
|
@@ -341,7 +341,7 @@ export const DeployAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
341
341
|
{ no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
342
342
|
{ no: 4, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
343
|
{ no: 5, name: "presigned_req", kind: "message", T: PresignedPostRequest },
|
|
344
|
-
{ no: 6, name: "
|
|
344
|
+
{ no: 6, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
345
345
|
],
|
|
346
346
|
);
|
|
347
347
|
|
|
@@ -401,7 +401,7 @@ export const DeleteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
401
401
|
() => [
|
|
402
402
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
403
|
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
404
|
-
{ no: 3, name: "
|
|
404
|
+
{ no: 3, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
405
405
|
],
|
|
406
406
|
);
|
|
407
407
|
|