@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/dist/index.d.ts
CHANGED
|
@@ -785,6 +785,40 @@ declare class InterruptionModelUsage extends Message<InterruptionModelUsage> {
|
|
|
785
785
|
static equals(a: InterruptionModelUsage | PlainMessage<InterruptionModelUsage> | undefined, b: InterruptionModelUsage | PlainMessage<InterruptionModelUsage> | undefined): boolean;
|
|
786
786
|
}
|
|
787
787
|
|
|
788
|
+
/**
|
|
789
|
+
* @generated from message livekit.agent.EotModelUsage
|
|
790
|
+
*/
|
|
791
|
+
declare class EotModelUsage extends Message<EotModelUsage> {
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: string provider = 1;
|
|
794
|
+
*/
|
|
795
|
+
provider: string;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* @generated from field: string model = 2;
|
|
799
|
+
*/
|
|
800
|
+
model: string;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* @generated from field: int32 total_requests = 3;
|
|
804
|
+
*/
|
|
805
|
+
totalRequests: number;
|
|
806
|
+
|
|
807
|
+
constructor(data?: PartialMessage<EotModelUsage>);
|
|
808
|
+
|
|
809
|
+
static readonly runtime: typeof proto3;
|
|
810
|
+
static readonly typeName = "livekit.agent.EotModelUsage";
|
|
811
|
+
static readonly fields: FieldList;
|
|
812
|
+
|
|
813
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotModelUsage;
|
|
814
|
+
|
|
815
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotModelUsage;
|
|
816
|
+
|
|
817
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotModelUsage;
|
|
818
|
+
|
|
819
|
+
static equals(a: EotModelUsage | PlainMessage<EotModelUsage> | undefined, b: EotModelUsage | PlainMessage<EotModelUsage> | undefined): boolean;
|
|
820
|
+
}
|
|
821
|
+
|
|
788
822
|
/**
|
|
789
823
|
* @generated from message livekit.agent.ModelUsage
|
|
790
824
|
*/
|
|
@@ -816,6 +850,12 @@ declare class ModelUsage extends Message<ModelUsage> {
|
|
|
816
850
|
*/
|
|
817
851
|
value: InterruptionModelUsage;
|
|
818
852
|
case: "interruption";
|
|
853
|
+
} | {
|
|
854
|
+
/**
|
|
855
|
+
* @generated from field: livekit.agent.EotModelUsage eot = 5;
|
|
856
|
+
*/
|
|
857
|
+
value: EotModelUsage;
|
|
858
|
+
case: "eot";
|
|
819
859
|
} | { case: undefined; value?: undefined };
|
|
820
860
|
|
|
821
861
|
constructor(data?: PartialMessage<ModelUsage>);
|
|
@@ -923,6 +963,12 @@ declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
923
963
|
*/
|
|
924
964
|
value: AgentSessionEvent_AmdPrediction;
|
|
925
965
|
case: "amdPrediction";
|
|
966
|
+
} | {
|
|
967
|
+
/**
|
|
968
|
+
* @generated from field: livekit.agent.AgentSessionEvent.EotPrediction eot_prediction = 19;
|
|
969
|
+
*/
|
|
970
|
+
value: AgentSessionEvent_EotPrediction;
|
|
971
|
+
case: "eotPrediction";
|
|
926
972
|
} | { case: undefined; value?: undefined };
|
|
927
973
|
|
|
928
974
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1192,6 +1238,45 @@ declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessionEvent_
|
|
|
1192
1238
|
static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
|
|
1193
1239
|
}
|
|
1194
1240
|
|
|
1241
|
+
/**
|
|
1242
|
+
* @generated from message livekit.agent.AgentSessionEvent.EotPrediction
|
|
1243
|
+
*/
|
|
1244
|
+
declare class AgentSessionEvent_EotPrediction extends Message<AgentSessionEvent_EotPrediction> {
|
|
1245
|
+
/**
|
|
1246
|
+
* @generated from field: float probability = 1;
|
|
1247
|
+
*/
|
|
1248
|
+
probability: number;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* @generated from field: float threshold = 2;
|
|
1252
|
+
*/
|
|
1253
|
+
threshold: number;
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @generated from field: google.protobuf.Duration inference_duration = 3;
|
|
1257
|
+
*/
|
|
1258
|
+
inferenceDuration?: Duration;
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* @generated from field: google.protobuf.Duration delay = 4;
|
|
1262
|
+
*/
|
|
1263
|
+
delay?: Duration;
|
|
1264
|
+
|
|
1265
|
+
constructor(data?: PartialMessage<AgentSessionEvent_EotPrediction>);
|
|
1266
|
+
|
|
1267
|
+
static readonly runtime: typeof proto3;
|
|
1268
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.EotPrediction";
|
|
1269
|
+
static readonly fields: FieldList;
|
|
1270
|
+
|
|
1271
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_EotPrediction;
|
|
1272
|
+
|
|
1273
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_EotPrediction;
|
|
1274
|
+
|
|
1275
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_EotPrediction;
|
|
1276
|
+
|
|
1277
|
+
static equals(a: AgentSessionEvent_EotPrediction | PlainMessage<AgentSessionEvent_EotPrediction> | undefined, b: AgentSessionEvent_EotPrediction | PlainMessage<AgentSessionEvent_EotPrediction> | undefined): boolean;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1195
1280
|
/**
|
|
1196
1281
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
1197
1282
|
*/
|
|
@@ -1276,6 +1361,12 @@ declare class SessionRequest extends Message<SessionRequest> {
|
|
|
1276
1361
|
*/
|
|
1277
1362
|
value: SessionRequest_GetFrameworkInfo;
|
|
1278
1363
|
case: "getFrameworkInfo";
|
|
1364
|
+
} | {
|
|
1365
|
+
/**
|
|
1366
|
+
* @generated from field: livekit.agent.SessionRequest.UpdateIO update_io = 11;
|
|
1367
|
+
*/
|
|
1368
|
+
value: SessionRequest_UpdateIO;
|
|
1369
|
+
case: "updateIo";
|
|
1279
1370
|
} | { case: undefined; value?: undefined };
|
|
1280
1371
|
|
|
1281
1372
|
constructor(data?: PartialMessage<SessionRequest>);
|
|
@@ -1450,6 +1541,98 @@ declare class SessionRequest_GetFrameworkInfo extends Message<SessionRequest_Get
|
|
|
1450
1541
|
static equals(a: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined, b: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined): boolean;
|
|
1451
1542
|
}
|
|
1452
1543
|
|
|
1544
|
+
/**
|
|
1545
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO
|
|
1546
|
+
*/
|
|
1547
|
+
declare class SessionRequest_UpdateIO extends Message<SessionRequest_UpdateIO> {
|
|
1548
|
+
/**
|
|
1549
|
+
* @generated from field: optional livekit.agent.SessionRequest.UpdateIO.Input input = 1;
|
|
1550
|
+
*/
|
|
1551
|
+
input?: SessionRequest_UpdateIO_Input;
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* @generated from field: optional livekit.agent.SessionRequest.UpdateIO.Output output = 2;
|
|
1555
|
+
*/
|
|
1556
|
+
output?: SessionRequest_UpdateIO_Output;
|
|
1557
|
+
|
|
1558
|
+
constructor(data?: PartialMessage<SessionRequest_UpdateIO>);
|
|
1559
|
+
|
|
1560
|
+
static readonly runtime: typeof proto3;
|
|
1561
|
+
static readonly typeName = "livekit.agent.SessionRequest.UpdateIO";
|
|
1562
|
+
static readonly fields: FieldList;
|
|
1563
|
+
|
|
1564
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO;
|
|
1565
|
+
|
|
1566
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO;
|
|
1567
|
+
|
|
1568
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO;
|
|
1569
|
+
|
|
1570
|
+
static equals(a: SessionRequest_UpdateIO | PlainMessage<SessionRequest_UpdateIO> | undefined, b: SessionRequest_UpdateIO | PlainMessage<SessionRequest_UpdateIO> | undefined): boolean;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO.Input
|
|
1575
|
+
*/
|
|
1576
|
+
declare class SessionRequest_UpdateIO_Input extends Message<SessionRequest_UpdateIO_Input> {
|
|
1577
|
+
/**
|
|
1578
|
+
* @generated from field: optional bool audio_enabled = 1;
|
|
1579
|
+
*/
|
|
1580
|
+
audioEnabled?: boolean;
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* @generated from field: optional bool video_enabled = 2;
|
|
1584
|
+
*/
|
|
1585
|
+
videoEnabled?: boolean;
|
|
1586
|
+
|
|
1587
|
+
constructor(data?: PartialMessage<SessionRequest_UpdateIO_Input>);
|
|
1588
|
+
|
|
1589
|
+
static readonly runtime: typeof proto3;
|
|
1590
|
+
static readonly typeName = "livekit.agent.SessionRequest.UpdateIO.Input";
|
|
1591
|
+
static readonly fields: FieldList;
|
|
1592
|
+
|
|
1593
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO_Input;
|
|
1594
|
+
|
|
1595
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Input;
|
|
1596
|
+
|
|
1597
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Input;
|
|
1598
|
+
|
|
1599
|
+
static equals(a: SessionRequest_UpdateIO_Input | PlainMessage<SessionRequest_UpdateIO_Input> | undefined, b: SessionRequest_UpdateIO_Input | PlainMessage<SessionRequest_UpdateIO_Input> | undefined): boolean;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* @generated from message livekit.agent.SessionRequest.UpdateIO.Output
|
|
1604
|
+
*/
|
|
1605
|
+
declare class SessionRequest_UpdateIO_Output extends Message<SessionRequest_UpdateIO_Output> {
|
|
1606
|
+
/**
|
|
1607
|
+
* @generated from field: optional bool audio_enabled = 1;
|
|
1608
|
+
*/
|
|
1609
|
+
audioEnabled?: boolean;
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* @generated from field: optional bool video_enabled = 2;
|
|
1613
|
+
*/
|
|
1614
|
+
videoEnabled?: boolean;
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* @generated from field: optional bool transcription_enabled = 3;
|
|
1618
|
+
*/
|
|
1619
|
+
transcriptionEnabled?: boolean;
|
|
1620
|
+
|
|
1621
|
+
constructor(data?: PartialMessage<SessionRequest_UpdateIO_Output>);
|
|
1622
|
+
|
|
1623
|
+
static readonly runtime: typeof proto3;
|
|
1624
|
+
static readonly typeName = "livekit.agent.SessionRequest.UpdateIO.Output";
|
|
1625
|
+
static readonly fields: FieldList;
|
|
1626
|
+
|
|
1627
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO_Output;
|
|
1628
|
+
|
|
1629
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Output;
|
|
1630
|
+
|
|
1631
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Output;
|
|
1632
|
+
|
|
1633
|
+
static equals(a: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined, b: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined): boolean;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1453
1636
|
/**
|
|
1454
1637
|
* @generated from message livekit.agent.SessionResponse
|
|
1455
1638
|
*/
|
|
@@ -1515,6 +1698,12 @@ declare class SessionResponse extends Message<SessionResponse> {
|
|
|
1515
1698
|
*/
|
|
1516
1699
|
value: SessionResponse_GetFrameworkInfoResponse;
|
|
1517
1700
|
case: "getFrameworkInfo";
|
|
1701
|
+
} | {
|
|
1702
|
+
/**
|
|
1703
|
+
* @generated from field: livekit.agent.SessionResponse.UpdateIOResponse update_io = 12;
|
|
1704
|
+
*/
|
|
1705
|
+
value: SessionResponse_UpdateIOResponse;
|
|
1706
|
+
case: "updateIo";
|
|
1518
1707
|
} | { case: undefined; value?: undefined };
|
|
1519
1708
|
|
|
1520
1709
|
constructor(data?: PartialMessage<SessionResponse>);
|
|
@@ -1769,6 +1958,25 @@ declare class SessionResponse_GetFrameworkInfoResponse extends Message<SessionRe
|
|
|
1769
1958
|
static equals(a: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined, b: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined): boolean;
|
|
1770
1959
|
}
|
|
1771
1960
|
|
|
1961
|
+
/**
|
|
1962
|
+
* @generated from message livekit.agent.SessionResponse.UpdateIOResponse
|
|
1963
|
+
*/
|
|
1964
|
+
declare class SessionResponse_UpdateIOResponse extends Message<SessionResponse_UpdateIOResponse> {
|
|
1965
|
+
constructor(data?: PartialMessage<SessionResponse_UpdateIOResponse>);
|
|
1966
|
+
|
|
1967
|
+
static readonly runtime: typeof proto3;
|
|
1968
|
+
static readonly typeName = "livekit.agent.SessionResponse.UpdateIOResponse";
|
|
1969
|
+
static readonly fields: FieldList;
|
|
1970
|
+
|
|
1971
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_UpdateIOResponse;
|
|
1972
|
+
|
|
1973
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_UpdateIOResponse;
|
|
1974
|
+
|
|
1975
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_UpdateIOResponse;
|
|
1976
|
+
|
|
1977
|
+
static equals(a: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined, b: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined): boolean;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1772
1980
|
/**
|
|
1773
1981
|
* @generated from message livekit.agent.AgentSessionMessage
|
|
1774
1982
|
*/
|
|
@@ -1968,6 +2176,8 @@ type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEv
|
|
|
1968
2176
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
|
|
1969
2177
|
type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
|
|
1970
2178
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
|
|
2179
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction = AgentSessionEvent_EotPrediction;
|
|
2180
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction: typeof AgentSessionEvent_EotPrediction;
|
|
1971
2181
|
type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
|
|
1972
2182
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_Error: typeof AgentSessionEvent_Error;
|
|
1973
2183
|
type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted = AgentSessionEvent_FunctionToolsExecuted;
|
|
@@ -2006,6 +2216,8 @@ type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatConten
|
|
|
2006
2216
|
declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
|
|
2007
2217
|
type livekit_agent_session_pb_d_ChatRole = ChatRole;
|
|
2008
2218
|
declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
|
|
2219
|
+
type livekit_agent_session_pb_d_EotModelUsage = EotModelUsage;
|
|
2220
|
+
declare const livekit_agent_session_pb_d_EotModelUsage: typeof EotModelUsage;
|
|
2009
2221
|
type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
|
|
2010
2222
|
declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall;
|
|
2011
2223
|
type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput;
|
|
@@ -2038,6 +2250,12 @@ type livekit_agent_session_pb_d_SessionRequest_Ping = SessionRequest_Ping;
|
|
|
2038
2250
|
declare const livekit_agent_session_pb_d_SessionRequest_Ping: typeof SessionRequest_Ping;
|
|
2039
2251
|
type livekit_agent_session_pb_d_SessionRequest_RunInput = SessionRequest_RunInput;
|
|
2040
2252
|
declare const livekit_agent_session_pb_d_SessionRequest_RunInput: typeof SessionRequest_RunInput;
|
|
2253
|
+
type livekit_agent_session_pb_d_SessionRequest_UpdateIO = SessionRequest_UpdateIO;
|
|
2254
|
+
declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO: typeof SessionRequest_UpdateIO;
|
|
2255
|
+
type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input = SessionRequest_UpdateIO_Input;
|
|
2256
|
+
declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input: typeof SessionRequest_UpdateIO_Input;
|
|
2257
|
+
type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output = SessionRequest_UpdateIO_Output;
|
|
2258
|
+
declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output: typeof SessionRequest_UpdateIO_Output;
|
|
2041
2259
|
type livekit_agent_session_pb_d_SessionResponse = SessionResponse;
|
|
2042
2260
|
declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse;
|
|
2043
2261
|
type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse;
|
|
@@ -2056,6 +2274,8 @@ type livekit_agent_session_pb_d_SessionResponse_Pong = SessionResponse_Pong;
|
|
|
2056
2274
|
declare const livekit_agent_session_pb_d_SessionResponse_Pong: typeof SessionResponse_Pong;
|
|
2057
2275
|
type livekit_agent_session_pb_d_SessionResponse_RunInputResponse = SessionResponse_RunInputResponse;
|
|
2058
2276
|
declare const livekit_agent_session_pb_d_SessionResponse_RunInputResponse: typeof SessionResponse_RunInputResponse;
|
|
2277
|
+
type livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse = SessionResponse_UpdateIOResponse;
|
|
2278
|
+
declare const livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse: typeof SessionResponse_UpdateIOResponse;
|
|
2059
2279
|
type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage;
|
|
2060
2280
|
declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage;
|
|
2061
2281
|
type livekit_agent_session_pb_d_TimedString = TimedString;
|
|
@@ -2063,7 +2283,7 @@ declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
|
|
|
2063
2283
|
type livekit_agent_session_pb_d_UserState = UserState;
|
|
2064
2284
|
declare const livekit_agent_session_pb_d_UserState: typeof UserState;
|
|
2065
2285
|
declare namespace livekit_agent_session_pb_d {
|
|
2066
|
-
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
2286
|
+
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction as AgentSessionEvent_EotPrediction, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_EotModelUsage as EotModelUsage, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionRequest_UpdateIO as SessionRequest_UpdateIO, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input as SessionRequest_UpdateIO_Input, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output as SessionRequest_UpdateIO_Output, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse as SessionResponse_UpdateIOResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
2067
2287
|
}
|
|
2068
2288
|
|
|
2069
2289
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -8594,6 +8814,13 @@ declare class ListEgressRequest extends Message<ListEgressRequest> {
|
|
|
8594
8814
|
*/
|
|
8595
8815
|
active: boolean;
|
|
8596
8816
|
|
|
8817
|
+
/**
|
|
8818
|
+
* next field id: 5
|
|
8819
|
+
*
|
|
8820
|
+
* @generated from field: livekit.TokenPagination page_token = 4;
|
|
8821
|
+
*/
|
|
8822
|
+
pageToken?: TokenPagination;
|
|
8823
|
+
|
|
8597
8824
|
constructor(data?: PartialMessage<ListEgressRequest>);
|
|
8598
8825
|
|
|
8599
8826
|
static readonly runtime: typeof proto3;
|
|
@@ -8618,6 +8845,13 @@ declare class ListEgressResponse extends Message<ListEgressResponse> {
|
|
|
8618
8845
|
*/
|
|
8619
8846
|
items: EgressInfo[];
|
|
8620
8847
|
|
|
8848
|
+
/**
|
|
8849
|
+
* next field id: 3
|
|
8850
|
+
*
|
|
8851
|
+
* @generated from field: livekit.TokenPagination next_page_token = 2;
|
|
8852
|
+
*/
|
|
8853
|
+
nextPageToken?: TokenPagination;
|
|
8854
|
+
|
|
8621
8855
|
constructor(data?: PartialMessage<ListEgressResponse>);
|
|
8622
8856
|
|
|
8623
8857
|
static readonly runtime: typeof proto3;
|
|
@@ -12594,6 +12828,13 @@ declare class SIPMediaConfig extends Message<SIPMediaConfig> {
|
|
|
12594
12828
|
*/
|
|
12595
12829
|
encryption?: SIPMediaEncryption;
|
|
12596
12830
|
|
|
12831
|
+
/**
|
|
12832
|
+
* Use specific media timeout. If zero or not specified, will use default timeout.
|
|
12833
|
+
*
|
|
12834
|
+
* @generated from field: optional google.protobuf.Duration media_timeout = 4;
|
|
12835
|
+
*/
|
|
12836
|
+
mediaTimeout?: Duration;
|
|
12837
|
+
|
|
12597
12838
|
constructor(data?: PartialMessage<SIPMediaConfig>);
|
|
12598
12839
|
|
|
12599
12840
|
static readonly runtime: typeof proto3;
|
|
@@ -12906,6 +13147,11 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
12906
13147
|
*/
|
|
12907
13148
|
authPassword: string;
|
|
12908
13149
|
|
|
13150
|
+
/**
|
|
13151
|
+
* @generated from field: string auth_realm = 19;
|
|
13152
|
+
*/
|
|
13153
|
+
authRealm: string;
|
|
13154
|
+
|
|
12909
13155
|
/**
|
|
12910
13156
|
* Include these SIP X-* headers in 200 OK responses.
|
|
12911
13157
|
*
|
|
@@ -13018,6 +13264,11 @@ declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate> {
|
|
|
13018
13264
|
*/
|
|
13019
13265
|
authPassword?: string;
|
|
13020
13266
|
|
|
13267
|
+
/**
|
|
13268
|
+
* @generated from field: optional string auth_realm = 9;
|
|
13269
|
+
*/
|
|
13270
|
+
authRealm?: string;
|
|
13271
|
+
|
|
13021
13272
|
/**
|
|
13022
13273
|
* @generated from field: optional string name = 6;
|
|
13023
13274
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -450,13 +450,40 @@ const InterruptionModelUsage = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
450
450
|
}
|
|
451
451
|
]
|
|
452
452
|
);
|
|
453
|
+
const EotModelUsage = /* @__PURE__ */ proto3.makeMessageType(
|
|
454
|
+
"livekit.agent.EotModelUsage",
|
|
455
|
+
() => [
|
|
456
|
+
{
|
|
457
|
+
no: 1,
|
|
458
|
+
name: "provider",
|
|
459
|
+
kind: "scalar",
|
|
460
|
+
T: 9
|
|
461
|
+
/* ScalarType.STRING */
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
no: 2,
|
|
465
|
+
name: "model",
|
|
466
|
+
kind: "scalar",
|
|
467
|
+
T: 9
|
|
468
|
+
/* ScalarType.STRING */
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
no: 3,
|
|
472
|
+
name: "total_requests",
|
|
473
|
+
kind: "scalar",
|
|
474
|
+
T: 5
|
|
475
|
+
/* ScalarType.INT32 */
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
);
|
|
453
479
|
const ModelUsage = /* @__PURE__ */ proto3.makeMessageType(
|
|
454
480
|
"livekit.agent.ModelUsage",
|
|
455
481
|
() => [
|
|
456
482
|
{ no: 1, name: "llm", kind: "message", T: LLMModelUsage, oneof: "usage" },
|
|
457
483
|
{ no: 2, name: "tts", kind: "message", T: TTSModelUsage, oneof: "usage" },
|
|
458
484
|
{ no: 3, name: "stt", kind: "message", T: STTModelUsage, oneof: "usage" },
|
|
459
|
-
{ no: 4, name: "interruption", kind: "message", T: InterruptionModelUsage, oneof: "usage" }
|
|
485
|
+
{ no: 4, name: "interruption", kind: "message", T: InterruptionModelUsage, oneof: "usage" },
|
|
486
|
+
{ no: 5, name: "eot", kind: "message", T: EotModelUsage, oneof: "usage" }
|
|
460
487
|
]
|
|
461
488
|
);
|
|
462
489
|
const AgentSessionUsage = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -477,7 +504,8 @@ const AgentSessionEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
477
504
|
{ no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
|
|
478
505
|
{ no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
|
|
479
506
|
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
480
|
-
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" }
|
|
507
|
+
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
|
|
508
|
+
{ no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" }
|
|
481
509
|
]
|
|
482
510
|
);
|
|
483
511
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -590,6 +618,28 @@ const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
590
618
|
],
|
|
591
619
|
{ localName: "AgentSessionEvent_AmdPrediction" }
|
|
592
620
|
);
|
|
621
|
+
const AgentSessionEvent_EotPrediction = /* @__PURE__ */ proto3.makeMessageType(
|
|
622
|
+
"livekit.agent.AgentSessionEvent.EotPrediction",
|
|
623
|
+
() => [
|
|
624
|
+
{
|
|
625
|
+
no: 1,
|
|
626
|
+
name: "probability",
|
|
627
|
+
kind: "scalar",
|
|
628
|
+
T: 2
|
|
629
|
+
/* ScalarType.FLOAT */
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
no: 2,
|
|
633
|
+
name: "threshold",
|
|
634
|
+
kind: "scalar",
|
|
635
|
+
T: 2
|
|
636
|
+
/* ScalarType.FLOAT */
|
|
637
|
+
},
|
|
638
|
+
{ no: 3, name: "inference_duration", kind: "message", T: Duration },
|
|
639
|
+
{ no: 4, name: "delay", kind: "message", T: Duration }
|
|
640
|
+
],
|
|
641
|
+
{ localName: "AgentSessionEvent_EotPrediction" }
|
|
642
|
+
);
|
|
593
643
|
const AgentSessionEvent_SessionUsageUpdated = /* @__PURE__ */ proto3.makeMessageType(
|
|
594
644
|
"livekit.agent.AgentSessionEvent.SessionUsageUpdated",
|
|
595
645
|
() => [
|
|
@@ -614,7 +664,8 @@ const SessionRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
614
664
|
{ no: 7, name: "get_session_state", kind: "message", T: SessionRequest_GetSessionState, oneof: "request" },
|
|
615
665
|
{ no: 8, name: "get_rtc_stats", kind: "message", T: SessionRequest_GetRTCStats, oneof: "request" },
|
|
616
666
|
{ no: 9, name: "get_session_usage", kind: "message", T: SessionRequest_GetSessionUsage, oneof: "request" },
|
|
617
|
-
{ no: 10, name: "get_framework_info", kind: "message", T: SessionRequest_GetFrameworkInfo, oneof: "request" }
|
|
667
|
+
{ no: 10, name: "get_framework_info", kind: "message", T: SessionRequest_GetFrameworkInfo, oneof: "request" },
|
|
668
|
+
{ no: 11, name: "update_io", kind: "message", T: SessionRequest_UpdateIO, oneof: "request" }
|
|
618
669
|
]
|
|
619
670
|
);
|
|
620
671
|
const SessionRequest_Ping = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -665,6 +716,31 @@ const SessionRequest_GetFrameworkInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
665
716
|
[],
|
|
666
717
|
{ localName: "SessionRequest_GetFrameworkInfo" }
|
|
667
718
|
);
|
|
719
|
+
const SessionRequest_UpdateIO = /* @__PURE__ */ proto3.makeMessageType(
|
|
720
|
+
"livekit.agent.SessionRequest.UpdateIO",
|
|
721
|
+
() => [
|
|
722
|
+
{ no: 1, name: "input", kind: "message", T: SessionRequest_UpdateIO_Input, opt: true },
|
|
723
|
+
{ no: 2, name: "output", kind: "message", T: SessionRequest_UpdateIO_Output, opt: true }
|
|
724
|
+
],
|
|
725
|
+
{ localName: "SessionRequest_UpdateIO" }
|
|
726
|
+
);
|
|
727
|
+
const SessionRequest_UpdateIO_Input = /* @__PURE__ */ proto3.makeMessageType(
|
|
728
|
+
"livekit.agent.SessionRequest.UpdateIO.Input",
|
|
729
|
+
() => [
|
|
730
|
+
{ no: 1, name: "audio_enabled", kind: "scalar", T: 8, opt: true },
|
|
731
|
+
{ no: 2, name: "video_enabled", kind: "scalar", T: 8, opt: true }
|
|
732
|
+
],
|
|
733
|
+
{ localName: "SessionRequest_UpdateIO_Input" }
|
|
734
|
+
);
|
|
735
|
+
const SessionRequest_UpdateIO_Output = /* @__PURE__ */ proto3.makeMessageType(
|
|
736
|
+
"livekit.agent.SessionRequest.UpdateIO.Output",
|
|
737
|
+
() => [
|
|
738
|
+
{ no: 1, name: "audio_enabled", kind: "scalar", T: 8, opt: true },
|
|
739
|
+
{ no: 2, name: "video_enabled", kind: "scalar", T: 8, opt: true },
|
|
740
|
+
{ no: 3, name: "transcription_enabled", kind: "scalar", T: 8, opt: true }
|
|
741
|
+
],
|
|
742
|
+
{ localName: "SessionRequest_UpdateIO_Output" }
|
|
743
|
+
);
|
|
668
744
|
const SessionResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
669
745
|
"livekit.agent.SessionResponse",
|
|
670
746
|
() => [
|
|
@@ -683,7 +759,8 @@ const SessionResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
683
759
|
{ no: 8, name: "get_session_state", kind: "message", T: SessionResponse_GetSessionStateResponse, oneof: "response" },
|
|
684
760
|
{ no: 9, name: "get_rtc_stats", kind: "message", T: SessionResponse_GetRTCStatsResponse, oneof: "response" },
|
|
685
761
|
{ no: 10, name: "get_session_usage", kind: "message", T: SessionResponse_GetSessionUsageResponse, oneof: "response" },
|
|
686
|
-
{ no: 11, name: "get_framework_info", kind: "message", T: SessionResponse_GetFrameworkInfoResponse, oneof: "response" }
|
|
762
|
+
{ no: 11, name: "get_framework_info", kind: "message", T: SessionResponse_GetFrameworkInfoResponse, oneof: "response" },
|
|
763
|
+
{ no: 12, name: "update_io", kind: "message", T: SessionResponse_UpdateIOResponse, oneof: "response" }
|
|
687
764
|
]
|
|
688
765
|
);
|
|
689
766
|
const SessionResponse_Pong = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -778,6 +855,11 @@ const SessionResponse_GetFrameworkInfoResponse = /* @__PURE__ */ proto3.makeMess
|
|
|
778
855
|
],
|
|
779
856
|
{ localName: "SessionResponse_GetFrameworkInfoResponse" }
|
|
780
857
|
);
|
|
858
|
+
const SessionResponse_UpdateIOResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
859
|
+
"livekit.agent.SessionResponse.UpdateIOResponse",
|
|
860
|
+
[],
|
|
861
|
+
{ localName: "SessionResponse_UpdateIOResponse" }
|
|
862
|
+
);
|
|
781
863
|
const AgentSessionMessage = /* @__PURE__ */ proto3.makeMessageType(
|
|
782
864
|
"livekit.agent.AgentSessionMessage",
|
|
783
865
|
() => [
|
|
@@ -854,6 +936,7 @@ const livekit_agent_session_pb = {
|
|
|
854
936
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
855
937
|
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
856
938
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
939
|
+
AgentSessionEvent_EotPrediction: AgentSessionEvent_EotPrediction,
|
|
857
940
|
AgentSessionEvent_Error: AgentSessionEvent_Error,
|
|
858
941
|
AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
|
|
859
942
|
AgentSessionEvent_OverlappingSpeech: AgentSessionEvent_OverlappingSpeech,
|
|
@@ -874,6 +957,7 @@ const livekit_agent_session_pb = {
|
|
|
874
957
|
ChatMessage: ChatMessage$1,
|
|
875
958
|
ChatMessage_ChatContent: ChatMessage_ChatContent,
|
|
876
959
|
ChatRole: ChatRole,
|
|
960
|
+
EotModelUsage: EotModelUsage,
|
|
877
961
|
FunctionCall: FunctionCall,
|
|
878
962
|
FunctionCallOutput: FunctionCallOutput,
|
|
879
963
|
InterruptionModelUsage: InterruptionModelUsage,
|
|
@@ -890,6 +974,9 @@ const livekit_agent_session_pb = {
|
|
|
890
974
|
SessionRequest_GetSessionUsage: SessionRequest_GetSessionUsage,
|
|
891
975
|
SessionRequest_Ping: SessionRequest_Ping,
|
|
892
976
|
SessionRequest_RunInput: SessionRequest_RunInput,
|
|
977
|
+
SessionRequest_UpdateIO: SessionRequest_UpdateIO,
|
|
978
|
+
SessionRequest_UpdateIO_Input: SessionRequest_UpdateIO_Input,
|
|
979
|
+
SessionRequest_UpdateIO_Output: SessionRequest_UpdateIO_Output,
|
|
893
980
|
SessionResponse: SessionResponse,
|
|
894
981
|
SessionResponse_GetAgentInfoResponse: SessionResponse_GetAgentInfoResponse,
|
|
895
982
|
SessionResponse_GetChatHistoryResponse: SessionResponse_GetChatHistoryResponse,
|
|
@@ -899,6 +986,7 @@ const livekit_agent_session_pb = {
|
|
|
899
986
|
SessionResponse_GetSessionUsageResponse: SessionResponse_GetSessionUsageResponse,
|
|
900
987
|
SessionResponse_Pong: SessionResponse_Pong,
|
|
901
988
|
SessionResponse_RunInputResponse: SessionResponse_RunInputResponse,
|
|
989
|
+
SessionResponse_UpdateIOResponse: SessionResponse_UpdateIOResponse,
|
|
902
990
|
TTSModelUsage: TTSModelUsage,
|
|
903
991
|
TimedString: TimedString,
|
|
904
992
|
UserState: UserState
|
|
@@ -4412,13 +4500,15 @@ const ListEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
4412
4500
|
kind: "scalar",
|
|
4413
4501
|
T: 8
|
|
4414
4502
|
/* ScalarType.BOOL */
|
|
4415
|
-
}
|
|
4503
|
+
},
|
|
4504
|
+
{ no: 4, name: "page_token", kind: "message", T: TokenPagination }
|
|
4416
4505
|
]
|
|
4417
4506
|
);
|
|
4418
4507
|
const ListEgressResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
4419
4508
|
"livekit.ListEgressResponse",
|
|
4420
4509
|
() => [
|
|
4421
|
-
{ no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }
|
|
4510
|
+
{ no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true },
|
|
4511
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination }
|
|
4422
4512
|
]
|
|
4423
4513
|
);
|
|
4424
4514
|
const UpdateEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -6351,7 +6441,8 @@ const SIPMediaConfig = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6351
6441
|
/* ScalarType.BOOL */
|
|
6352
6442
|
},
|
|
6353
6443
|
{ no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
|
|
6354
|
-
{ no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
6444
|
+
{ no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
6445
|
+
{ no: 4, name: "media_timeout", kind: "message", T: Duration, opt: true }
|
|
6355
6446
|
]
|
|
6356
6447
|
);
|
|
6357
6448
|
const ProviderInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -6523,6 +6614,13 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6523
6614
|
T: 9
|
|
6524
6615
|
/* ScalarType.STRING */
|
|
6525
6616
|
},
|
|
6617
|
+
{
|
|
6618
|
+
no: 19,
|
|
6619
|
+
name: "auth_realm",
|
|
6620
|
+
kind: "scalar",
|
|
6621
|
+
T: 9
|
|
6622
|
+
/* ScalarType.STRING */
|
|
6623
|
+
},
|
|
6526
6624
|
{ no: 9, name: "headers", kind: "map", K: 9, V: {
|
|
6527
6625
|
kind: "scalar",
|
|
6528
6626
|
T: 9
|
|
@@ -6561,6 +6659,7 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6561
6659
|
{ no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
|
|
6562
6660
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
6563
6661
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
6662
|
+
{ no: 9, name: "auth_realm", kind: "scalar", T: 9, opt: true },
|
|
6564
6663
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
6565
6664
|
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
|
|
6566
6665
|
{ no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
@@ -9960,7 +10059,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
9960
10059
|
]
|
|
9961
10060
|
);
|
|
9962
10061
|
|
|
9963
|
-
const version = "1.
|
|
10062
|
+
const version = "1.46.0";
|
|
9964
10063
|
|
|
9965
10064
|
export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb as AgentSession, AliOSSUpload, AnalyticsClientMeta, AnalyticsEvent, AnalyticsEventType, AnalyticsEvents, AnalyticsNodeRooms, AnalyticsRoom, AnalyticsRoomParticipant, AnalyticsStat, AnalyticsStats, AnalyticsStream, AnalyticsVideoLayer, AudioChannel, AudioCodec, AudioConfig, AudioMixing, AudioRoute, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_Capability, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataConfig, DataPacket, DataPacket_Kind, DataSelector, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, ExportReplayRequest, FeatureUsageInfo, FeatureUsageInfo_Feature, FileInfo, FileOutput, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobRestartPolicy, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MediaSource, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Output, PacketTrailerFeature, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, ParticipantVideo, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, ReportInfo, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPCodec, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaConfig, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StartEgressRequest, StopEgressRequest, StorageConfig, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, StreamType, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TemplateSource, TimeRange, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateEgressRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebSource, WebhookConfig, WebhookEvent, WebhookInfo, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
9966
10065
|
//# sourceMappingURL=index.mjs.map
|