@livekit/protocol 1.45.8 → 1.46.2

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.d.cts 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,18 @@ 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";
972
+ } | {
973
+ /**
974
+ * @generated from field: livekit.agent.AgentSessionEvent.FunctionToolsStarted function_tools_started = 20;
975
+ */
976
+ value: AgentSessionEvent_FunctionToolsStarted;
977
+ case: "functionToolsStarted";
926
978
  } | { case: undefined; value?: undefined };
927
979
 
928
980
  constructor(data?: PartialMessage<AgentSessionEvent>);
@@ -1056,6 +1108,30 @@ declare class AgentSessionEvent_UserInputTranscribed extends Message<AgentSessio
1056
1108
  static equals(a: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined, b: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined): boolean;
1057
1109
  }
1058
1110
 
1111
+ /**
1112
+ * @generated from message livekit.agent.AgentSessionEvent.FunctionToolsStarted
1113
+ */
1114
+ declare class AgentSessionEvent_FunctionToolsStarted extends Message<AgentSessionEvent_FunctionToolsStarted> {
1115
+ /**
1116
+ * @generated from field: repeated livekit.agent.FunctionCall function_calls = 1;
1117
+ */
1118
+ functionCalls: FunctionCall[];
1119
+
1120
+ constructor(data?: PartialMessage<AgentSessionEvent_FunctionToolsStarted>);
1121
+
1122
+ static readonly runtime: typeof proto3;
1123
+ static readonly typeName = "livekit.agent.AgentSessionEvent.FunctionToolsStarted";
1124
+ static readonly fields: FieldList;
1125
+
1126
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_FunctionToolsStarted;
1127
+
1128
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsStarted;
1129
+
1130
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsStarted;
1131
+
1132
+ static equals(a: AgentSessionEvent_FunctionToolsStarted | PlainMessage<AgentSessionEvent_FunctionToolsStarted> | undefined, b: AgentSessionEvent_FunctionToolsStarted | PlainMessage<AgentSessionEvent_FunctionToolsStarted> | undefined): boolean;
1133
+ }
1134
+
1059
1135
  /**
1060
1136
  * @generated from message livekit.agent.AgentSessionEvent.FunctionToolsExecuted
1061
1137
  */
@@ -1192,6 +1268,45 @@ declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessionEvent_
1192
1268
  static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
1193
1269
  }
1194
1270
 
1271
+ /**
1272
+ * @generated from message livekit.agent.AgentSessionEvent.EotPrediction
1273
+ */
1274
+ declare class AgentSessionEvent_EotPrediction extends Message<AgentSessionEvent_EotPrediction> {
1275
+ /**
1276
+ * @generated from field: float probability = 1;
1277
+ */
1278
+ probability: number;
1279
+
1280
+ /**
1281
+ * @generated from field: float threshold = 2;
1282
+ */
1283
+ threshold: number;
1284
+
1285
+ /**
1286
+ * @generated from field: google.protobuf.Duration inference_duration = 3;
1287
+ */
1288
+ inferenceDuration?: Duration;
1289
+
1290
+ /**
1291
+ * @generated from field: google.protobuf.Duration delay = 4;
1292
+ */
1293
+ delay?: Duration;
1294
+
1295
+ constructor(data?: PartialMessage<AgentSessionEvent_EotPrediction>);
1296
+
1297
+ static readonly runtime: typeof proto3;
1298
+ static readonly typeName = "livekit.agent.AgentSessionEvent.EotPrediction";
1299
+ static readonly fields: FieldList;
1300
+
1301
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_EotPrediction;
1302
+
1303
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_EotPrediction;
1304
+
1305
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_EotPrediction;
1306
+
1307
+ static equals(a: AgentSessionEvent_EotPrediction | PlainMessage<AgentSessionEvent_EotPrediction> | undefined, b: AgentSessionEvent_EotPrediction | PlainMessage<AgentSessionEvent_EotPrediction> | undefined): boolean;
1308
+ }
1309
+
1195
1310
  /**
1196
1311
  * @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
1197
1312
  */
@@ -1276,6 +1391,12 @@ declare class SessionRequest extends Message<SessionRequest> {
1276
1391
  */
1277
1392
  value: SessionRequest_GetFrameworkInfo;
1278
1393
  case: "getFrameworkInfo";
1394
+ } | {
1395
+ /**
1396
+ * @generated from field: livekit.agent.SessionRequest.UpdateIO update_io = 11;
1397
+ */
1398
+ value: SessionRequest_UpdateIO;
1399
+ case: "updateIo";
1279
1400
  } | { case: undefined; value?: undefined };
1280
1401
 
1281
1402
  constructor(data?: PartialMessage<SessionRequest>);
@@ -1450,6 +1571,98 @@ declare class SessionRequest_GetFrameworkInfo extends Message<SessionRequest_Get
1450
1571
  static equals(a: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined, b: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined): boolean;
1451
1572
  }
1452
1573
 
1574
+ /**
1575
+ * @generated from message livekit.agent.SessionRequest.UpdateIO
1576
+ */
1577
+ declare class SessionRequest_UpdateIO extends Message<SessionRequest_UpdateIO> {
1578
+ /**
1579
+ * @generated from field: optional livekit.agent.SessionRequest.UpdateIO.Input input = 1;
1580
+ */
1581
+ input?: SessionRequest_UpdateIO_Input;
1582
+
1583
+ /**
1584
+ * @generated from field: optional livekit.agent.SessionRequest.UpdateIO.Output output = 2;
1585
+ */
1586
+ output?: SessionRequest_UpdateIO_Output;
1587
+
1588
+ constructor(data?: PartialMessage<SessionRequest_UpdateIO>);
1589
+
1590
+ static readonly runtime: typeof proto3;
1591
+ static readonly typeName = "livekit.agent.SessionRequest.UpdateIO";
1592
+ static readonly fields: FieldList;
1593
+
1594
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO;
1595
+
1596
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO;
1597
+
1598
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO;
1599
+
1600
+ static equals(a: SessionRequest_UpdateIO | PlainMessage<SessionRequest_UpdateIO> | undefined, b: SessionRequest_UpdateIO | PlainMessage<SessionRequest_UpdateIO> | undefined): boolean;
1601
+ }
1602
+
1603
+ /**
1604
+ * @generated from message livekit.agent.SessionRequest.UpdateIO.Input
1605
+ */
1606
+ declare class SessionRequest_UpdateIO_Input extends Message<SessionRequest_UpdateIO_Input> {
1607
+ /**
1608
+ * @generated from field: optional bool audio_enabled = 1;
1609
+ */
1610
+ audioEnabled?: boolean;
1611
+
1612
+ /**
1613
+ * @generated from field: optional bool video_enabled = 2;
1614
+ */
1615
+ videoEnabled?: boolean;
1616
+
1617
+ constructor(data?: PartialMessage<SessionRequest_UpdateIO_Input>);
1618
+
1619
+ static readonly runtime: typeof proto3;
1620
+ static readonly typeName = "livekit.agent.SessionRequest.UpdateIO.Input";
1621
+ static readonly fields: FieldList;
1622
+
1623
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO_Input;
1624
+
1625
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Input;
1626
+
1627
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Input;
1628
+
1629
+ static equals(a: SessionRequest_UpdateIO_Input | PlainMessage<SessionRequest_UpdateIO_Input> | undefined, b: SessionRequest_UpdateIO_Input | PlainMessage<SessionRequest_UpdateIO_Input> | undefined): boolean;
1630
+ }
1631
+
1632
+ /**
1633
+ * @generated from message livekit.agent.SessionRequest.UpdateIO.Output
1634
+ */
1635
+ declare class SessionRequest_UpdateIO_Output extends Message<SessionRequest_UpdateIO_Output> {
1636
+ /**
1637
+ * @generated from field: optional bool audio_enabled = 1;
1638
+ */
1639
+ audioEnabled?: boolean;
1640
+
1641
+ /**
1642
+ * @generated from field: optional bool video_enabled = 2;
1643
+ */
1644
+ videoEnabled?: boolean;
1645
+
1646
+ /**
1647
+ * @generated from field: optional bool transcription_enabled = 3;
1648
+ */
1649
+ transcriptionEnabled?: boolean;
1650
+
1651
+ constructor(data?: PartialMessage<SessionRequest_UpdateIO_Output>);
1652
+
1653
+ static readonly runtime: typeof proto3;
1654
+ static readonly typeName = "livekit.agent.SessionRequest.UpdateIO.Output";
1655
+ static readonly fields: FieldList;
1656
+
1657
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_UpdateIO_Output;
1658
+
1659
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Output;
1660
+
1661
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_UpdateIO_Output;
1662
+
1663
+ static equals(a: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined, b: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined): boolean;
1664
+ }
1665
+
1453
1666
  /**
1454
1667
  * @generated from message livekit.agent.SessionResponse
1455
1668
  */
@@ -1515,6 +1728,12 @@ declare class SessionResponse extends Message<SessionResponse> {
1515
1728
  */
1516
1729
  value: SessionResponse_GetFrameworkInfoResponse;
1517
1730
  case: "getFrameworkInfo";
1731
+ } | {
1732
+ /**
1733
+ * @generated from field: livekit.agent.SessionResponse.UpdateIOResponse update_io = 12;
1734
+ */
1735
+ value: SessionResponse_UpdateIOResponse;
1736
+ case: "updateIo";
1518
1737
  } | { case: undefined; value?: undefined };
1519
1738
 
1520
1739
  constructor(data?: PartialMessage<SessionResponse>);
@@ -1769,6 +1988,25 @@ declare class SessionResponse_GetFrameworkInfoResponse extends Message<SessionRe
1769
1988
  static equals(a: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined, b: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined): boolean;
1770
1989
  }
1771
1990
 
1991
+ /**
1992
+ * @generated from message livekit.agent.SessionResponse.UpdateIOResponse
1993
+ */
1994
+ declare class SessionResponse_UpdateIOResponse extends Message<SessionResponse_UpdateIOResponse> {
1995
+ constructor(data?: PartialMessage<SessionResponse_UpdateIOResponse>);
1996
+
1997
+ static readonly runtime: typeof proto3;
1998
+ static readonly typeName = "livekit.agent.SessionResponse.UpdateIOResponse";
1999
+ static readonly fields: FieldList;
2000
+
2001
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_UpdateIOResponse;
2002
+
2003
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_UpdateIOResponse;
2004
+
2005
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_UpdateIOResponse;
2006
+
2007
+ static equals(a: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined, b: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined): boolean;
2008
+ }
2009
+
1772
2010
  /**
1773
2011
  * @generated from message livekit.agent.AgentSessionMessage
1774
2012
  */
@@ -1884,186 +2122,1701 @@ declare class AgentSessionMessage_ConsoleIO_AudioFrame extends Message<AgentSess
1884
2122
  */
1885
2123
  samplesPerChannel: number;
1886
2124
 
1887
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioFrame>);
2125
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioFrame>);
2126
+
2127
+ static readonly runtime: typeof proto3;
2128
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame";
2129
+ static readonly fields: FieldList;
2130
+
2131
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
2132
+
2133
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
2134
+
2135
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
2136
+
2137
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined, b: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined): boolean;
2138
+ }
2139
+
2140
+ /**
2141
+ * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush
2142
+ */
2143
+ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFlush extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> {
2144
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush>);
2145
+
2146
+ static readonly runtime: typeof proto3;
2147
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush";
2148
+ static readonly fields: FieldList;
2149
+
2150
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2151
+
2152
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2153
+
2154
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2155
+
2156
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined): boolean;
2157
+ }
2158
+
2159
+ /**
2160
+ * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear
2161
+ */
2162
+ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackClear extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> {
2163
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear>);
2164
+
2165
+ static readonly runtime: typeof proto3;
2166
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear";
2167
+ static readonly fields: FieldList;
2168
+
2169
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2170
+
2171
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2172
+
2173
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2174
+
2175
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined): boolean;
2176
+ }
2177
+
2178
+ /**
2179
+ * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished
2180
+ */
2181
+ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFinished extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> {
2182
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished>);
2183
+
2184
+ static readonly runtime: typeof proto3;
2185
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished";
2186
+ static readonly fields: FieldList;
2187
+
2188
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2189
+
2190
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2191
+
2192
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2193
+
2194
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined): boolean;
2195
+ }
2196
+
2197
+ type livekit_agent_session_pb_d_AgentConfigUpdate = AgentConfigUpdate;
2198
+ declare const livekit_agent_session_pb_d_AgentConfigUpdate: typeof AgentConfigUpdate;
2199
+ type livekit_agent_session_pb_d_AgentHandoff = AgentHandoff;
2200
+ declare const livekit_agent_session_pb_d_AgentHandoff: typeof AgentHandoff;
2201
+ type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
2202
+ declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
2203
+ type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
2204
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
2205
+ type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEvent_AmdPrediction;
2206
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
2207
+ type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
2208
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
2209
+ type livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction = AgentSessionEvent_EotPrediction;
2210
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction: typeof AgentSessionEvent_EotPrediction;
2211
+ type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
2212
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_Error: typeof AgentSessionEvent_Error;
2213
+ type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted = AgentSessionEvent_FunctionToolsExecuted;
2214
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted: typeof AgentSessionEvent_FunctionToolsExecuted;
2215
+ type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsStarted = AgentSessionEvent_FunctionToolsStarted;
2216
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsStarted: typeof AgentSessionEvent_FunctionToolsStarted;
2217
+ type livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech = AgentSessionEvent_OverlappingSpeech;
2218
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech: typeof AgentSessionEvent_OverlappingSpeech;
2219
+ type livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated = AgentSessionEvent_SessionUsageUpdated;
2220
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated: typeof AgentSessionEvent_SessionUsageUpdated;
2221
+ type livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed = AgentSessionEvent_UserInputTranscribed;
2222
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed: typeof AgentSessionEvent_UserInputTranscribed;
2223
+ type livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged = AgentSessionEvent_UserStateChanged;
2224
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged: typeof AgentSessionEvent_UserStateChanged;
2225
+ type livekit_agent_session_pb_d_AgentSessionMessage = AgentSessionMessage;
2226
+ declare const livekit_agent_session_pb_d_AgentSessionMessage: typeof AgentSessionMessage;
2227
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO = AgentSessionMessage_ConsoleIO;
2228
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO: typeof AgentSessionMessage_ConsoleIO;
2229
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame = AgentSessionMessage_ConsoleIO_AudioFrame;
2230
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame: typeof AgentSessionMessage_ConsoleIO_AudioFrame;
2231
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear = AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2232
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2233
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished = AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2234
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2235
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush = AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2236
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2237
+ type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
2238
+ declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
2239
+ type livekit_agent_session_pb_d_AgentState = AgentState;
2240
+ declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
2241
+ type livekit_agent_session_pb_d_AmdCategory = AmdCategory;
2242
+ declare const livekit_agent_session_pb_d_AmdCategory: typeof AmdCategory;
2243
+ type livekit_agent_session_pb_d_ChatContext = ChatContext;
2244
+ declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
2245
+ type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
2246
+ declare const livekit_agent_session_pb_d_ChatContext_ChatItem: typeof ChatContext_ChatItem;
2247
+ type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatContent;
2248
+ declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
2249
+ type livekit_agent_session_pb_d_ChatRole = ChatRole;
2250
+ declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
2251
+ type livekit_agent_session_pb_d_EotModelUsage = EotModelUsage;
2252
+ declare const livekit_agent_session_pb_d_EotModelUsage: typeof EotModelUsage;
2253
+ type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
2254
+ declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall;
2255
+ type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput;
2256
+ declare const livekit_agent_session_pb_d_FunctionCallOutput: typeof FunctionCallOutput;
2257
+ type livekit_agent_session_pb_d_InterruptionModelUsage = InterruptionModelUsage;
2258
+ declare const livekit_agent_session_pb_d_InterruptionModelUsage: typeof InterruptionModelUsage;
2259
+ type livekit_agent_session_pb_d_LLMModelUsage = LLMModelUsage;
2260
+ declare const livekit_agent_session_pb_d_LLMModelUsage: typeof LLMModelUsage;
2261
+ type livekit_agent_session_pb_d_MetricsReport = MetricsReport;
2262
+ declare const livekit_agent_session_pb_d_MetricsReport: typeof MetricsReport;
2263
+ type livekit_agent_session_pb_d_ModelUsage = ModelUsage;
2264
+ declare const livekit_agent_session_pb_d_ModelUsage: typeof ModelUsage;
2265
+ type livekit_agent_session_pb_d_STTModelUsage = STTModelUsage;
2266
+ declare const livekit_agent_session_pb_d_STTModelUsage: typeof STTModelUsage;
2267
+ type livekit_agent_session_pb_d_SessionRequest = SessionRequest;
2268
+ declare const livekit_agent_session_pb_d_SessionRequest: typeof SessionRequest;
2269
+ type livekit_agent_session_pb_d_SessionRequest_GetAgentInfo = SessionRequest_GetAgentInfo;
2270
+ declare const livekit_agent_session_pb_d_SessionRequest_GetAgentInfo: typeof SessionRequest_GetAgentInfo;
2271
+ type livekit_agent_session_pb_d_SessionRequest_GetChatHistory = SessionRequest_GetChatHistory;
2272
+ declare const livekit_agent_session_pb_d_SessionRequest_GetChatHistory: typeof SessionRequest_GetChatHistory;
2273
+ type livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo = SessionRequest_GetFrameworkInfo;
2274
+ declare const livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo: typeof SessionRequest_GetFrameworkInfo;
2275
+ type livekit_agent_session_pb_d_SessionRequest_GetRTCStats = SessionRequest_GetRTCStats;
2276
+ declare const livekit_agent_session_pb_d_SessionRequest_GetRTCStats: typeof SessionRequest_GetRTCStats;
2277
+ type livekit_agent_session_pb_d_SessionRequest_GetSessionState = SessionRequest_GetSessionState;
2278
+ declare const livekit_agent_session_pb_d_SessionRequest_GetSessionState: typeof SessionRequest_GetSessionState;
2279
+ type livekit_agent_session_pb_d_SessionRequest_GetSessionUsage = SessionRequest_GetSessionUsage;
2280
+ declare const livekit_agent_session_pb_d_SessionRequest_GetSessionUsage: typeof SessionRequest_GetSessionUsage;
2281
+ type livekit_agent_session_pb_d_SessionRequest_Ping = SessionRequest_Ping;
2282
+ declare const livekit_agent_session_pb_d_SessionRequest_Ping: typeof SessionRequest_Ping;
2283
+ type livekit_agent_session_pb_d_SessionRequest_RunInput = SessionRequest_RunInput;
2284
+ declare const livekit_agent_session_pb_d_SessionRequest_RunInput: typeof SessionRequest_RunInput;
2285
+ type livekit_agent_session_pb_d_SessionRequest_UpdateIO = SessionRequest_UpdateIO;
2286
+ declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO: typeof SessionRequest_UpdateIO;
2287
+ type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input = SessionRequest_UpdateIO_Input;
2288
+ declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input: typeof SessionRequest_UpdateIO_Input;
2289
+ type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output = SessionRequest_UpdateIO_Output;
2290
+ declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output: typeof SessionRequest_UpdateIO_Output;
2291
+ type livekit_agent_session_pb_d_SessionResponse = SessionResponse;
2292
+ declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse;
2293
+ type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse;
2294
+ declare const livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse: typeof SessionResponse_GetAgentInfoResponse;
2295
+ type livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse = SessionResponse_GetChatHistoryResponse;
2296
+ declare const livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse: typeof SessionResponse_GetChatHistoryResponse;
2297
+ type livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse = SessionResponse_GetFrameworkInfoResponse;
2298
+ declare const livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse: typeof SessionResponse_GetFrameworkInfoResponse;
2299
+ type livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse = SessionResponse_GetRTCStatsResponse;
2300
+ declare const livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse: typeof SessionResponse_GetRTCStatsResponse;
2301
+ type livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse = SessionResponse_GetSessionStateResponse;
2302
+ declare const livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse: typeof SessionResponse_GetSessionStateResponse;
2303
+ type livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse = SessionResponse_GetSessionUsageResponse;
2304
+ declare const livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse: typeof SessionResponse_GetSessionUsageResponse;
2305
+ type livekit_agent_session_pb_d_SessionResponse_Pong = SessionResponse_Pong;
2306
+ declare const livekit_agent_session_pb_d_SessionResponse_Pong: typeof SessionResponse_Pong;
2307
+ type livekit_agent_session_pb_d_SessionResponse_RunInputResponse = SessionResponse_RunInputResponse;
2308
+ declare const livekit_agent_session_pb_d_SessionResponse_RunInputResponse: typeof SessionResponse_RunInputResponse;
2309
+ type livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse = SessionResponse_UpdateIOResponse;
2310
+ declare const livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse: typeof SessionResponse_UpdateIOResponse;
2311
+ type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage;
2312
+ declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage;
2313
+ type livekit_agent_session_pb_d_TimedString = TimedString;
2314
+ declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
2315
+ type livekit_agent_session_pb_d_UserState = UserState;
2316
+ declare const livekit_agent_session_pb_d_UserState: typeof UserState;
2317
+ declare namespace livekit_agent_session_pb_d {
2318
+ 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_FunctionToolsStarted as AgentSessionEvent_FunctionToolsStarted, 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 };
2319
+ }
2320
+
2321
+ // Copyright 2026 LiveKit, Inc.
2322
+ //
2323
+ // Licensed under the Apache License, Version 2.0 (the "License");
2324
+ // you may not use this file except in compliance with the License.
2325
+ // You may obtain a copy of the License at
2326
+ //
2327
+ // http://www.apache.org/licenses/LICENSE-2.0
2328
+ //
2329
+ // Unless required by applicable law or agreed to in writing, software
2330
+ // distributed under the License is distributed on an "AS IS" BASIS,
2331
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2332
+ // See the License for the specific language governing permissions and
2333
+ // limitations under the License.
2334
+
2335
+
2336
+
2337
+ /**
2338
+ * @generated from enum livekit.agent.AudioEncoding
2339
+ */
2340
+ declare enum AudioEncoding {
2341
+ /**
2342
+ * @generated from enum value: AUDIO_ENCODING_PCM_S16LE = 0;
2343
+ */
2344
+ PCM_S16LE = 0,
2345
+
2346
+ /**
2347
+ * @generated from enum value: AUDIO_ENCODING_OPUS = 1;
2348
+ */
2349
+ OPUS = 1,
2350
+ }
2351
+
2352
+ /**
2353
+ * @generated from message livekit.agent.SessionSettings
2354
+ */
2355
+ declare class SessionSettings extends Message<SessionSettings> {
2356
+ /**
2357
+ * @generated from field: uint32 sample_rate = 1;
2358
+ */
2359
+ sampleRate: number;
2360
+
2361
+ /**
2362
+ * @generated from field: livekit.agent.AudioEncoding encoding = 2;
2363
+ */
2364
+ encoding: AudioEncoding;
2365
+
2366
+ /**
2367
+ * @generated from oneof livekit.agent.SessionSettings.type_settings
2368
+ */
2369
+ typeSettings: {
2370
+ /**
2371
+ * @generated from field: livekit.agent.EotSettings eot_settings = 3;
2372
+ */
2373
+ value: EotSettings;
2374
+ case: "eotSettings";
2375
+ } | {
2376
+ /**
2377
+ * @generated from field: livekit.agent.InterruptionSettings interruption_settings = 4;
2378
+ */
2379
+ value: InterruptionSettings;
2380
+ case: "interruptionSettings";
2381
+ } | { case: undefined; value?: undefined };
2382
+
2383
+ constructor(data?: PartialMessage<SessionSettings>);
2384
+
2385
+ static readonly runtime: typeof proto3;
2386
+ static readonly typeName = "livekit.agent.SessionSettings";
2387
+ static readonly fields: FieldList;
2388
+
2389
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionSettings;
2390
+
2391
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionSettings;
2392
+
2393
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionSettings;
2394
+
2395
+ static equals(a: SessionSettings | PlainMessage<SessionSettings> | undefined, b: SessionSettings | PlainMessage<SessionSettings> | undefined): boolean;
2396
+ }
2397
+
2398
+ /**
2399
+ * @generated from message livekit.agent.InferenceError
2400
+ */
2401
+ declare class InferenceError extends Message<InferenceError> {
2402
+ /**
2403
+ * @generated from field: string message = 1;
2404
+ */
2405
+ message: string;
2406
+
2407
+ /**
2408
+ * error code follows the HTTP status code convention
2409
+ * 4xx for client errors
2410
+ * 5xx for server errors
2411
+ *
2412
+ * @generated from field: uint32 code = 2;
2413
+ */
2414
+ code: number;
2415
+
2416
+ constructor(data?: PartialMessage<InferenceError>);
2417
+
2418
+ static readonly runtime: typeof proto3;
2419
+ static readonly typeName = "livekit.agent.InferenceError";
2420
+ static readonly fields: FieldList;
2421
+
2422
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceError;
2423
+
2424
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceError;
2425
+
2426
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceError;
2427
+
2428
+ static equals(a: InferenceError | PlainMessage<InferenceError> | undefined, b: InferenceError | PlainMessage<InferenceError> | undefined): boolean;
2429
+ }
2430
+
2431
+ /**
2432
+ * @generated from message livekit.agent.EotSettings
2433
+ */
2434
+ declare class EotSettings extends Message<EotSettings> {
2435
+ /**
2436
+ * @generated from field: google.protobuf.Duration detection_interval = 1;
2437
+ */
2438
+ detectionInterval?: Duration;
2439
+
2440
+ constructor(data?: PartialMessage<EotSettings>);
2441
+
2442
+ static readonly runtime: typeof proto3;
2443
+ static readonly typeName = "livekit.agent.EotSettings";
2444
+ static readonly fields: FieldList;
2445
+
2446
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotSettings;
2447
+
2448
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotSettings;
2449
+
2450
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotSettings;
2451
+
2452
+ static equals(a: EotSettings | PlainMessage<EotSettings> | undefined, b: EotSettings | PlainMessage<EotSettings> | undefined): boolean;
2453
+ }
2454
+
2455
+ /**
2456
+ * @generated from message livekit.agent.InterruptionSettings
2457
+ */
2458
+ declare class InterruptionSettings extends Message<InterruptionSettings> {
2459
+ /**
2460
+ * detection threshold in range [0.0, 1.0]; higher values are less sensitive
2461
+ *
2462
+ * @generated from field: float threshold = 1;
2463
+ */
2464
+ threshold: number;
2465
+
2466
+ /**
2467
+ * minimum number of frames with probability greater than threshold to trigger an interruption
2468
+ *
2469
+ * @generated from field: uint32 min_frames = 2;
2470
+ */
2471
+ minFrames: number;
2472
+
2473
+ /**
2474
+ * @generated from field: google.protobuf.Duration max_audio_duration = 3;
2475
+ */
2476
+ maxAudioDuration?: Duration;
2477
+
2478
+ /**
2479
+ * @generated from field: google.protobuf.Duration audio_prefix_duration = 4;
2480
+ */
2481
+ audioPrefixDuration?: Duration;
2482
+
2483
+ /**
2484
+ * @generated from field: google.protobuf.Duration detection_interval = 5;
2485
+ */
2486
+ detectionInterval?: Duration;
2487
+
2488
+ constructor(data?: PartialMessage<InterruptionSettings>);
2489
+
2490
+ static readonly runtime: typeof proto3;
2491
+ static readonly typeName = "livekit.agent.InterruptionSettings";
2492
+ static readonly fields: FieldList;
2493
+
2494
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionSettings;
2495
+
2496
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionSettings;
2497
+
2498
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionSettings;
2499
+
2500
+ static equals(a: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined, b: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined): boolean;
2501
+ }
2502
+
2503
+ /**
2504
+ * @generated from message livekit.agent.SessionCreate
2505
+ */
2506
+ declare class SessionCreate extends Message<SessionCreate> {
2507
+ /**
2508
+ * @generated from field: livekit.agent.SessionSettings settings = 1;
2509
+ */
2510
+ settings?: SessionSettings;
2511
+
2512
+ constructor(data?: PartialMessage<SessionCreate>);
2513
+
2514
+ static readonly runtime: typeof proto3;
2515
+ static readonly typeName = "livekit.agent.SessionCreate";
2516
+ static readonly fields: FieldList;
2517
+
2518
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionCreate;
2519
+
2520
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionCreate;
2521
+
2522
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionCreate;
2523
+
2524
+ static equals(a: SessionCreate | PlainMessage<SessionCreate> | undefined, b: SessionCreate | PlainMessage<SessionCreate> | undefined): boolean;
2525
+ }
2526
+
2527
+ /**
2528
+ * @generated from message livekit.agent.InputAudio
2529
+ */
2530
+ declare class InputAudio extends Message<InputAudio> {
2531
+ /**
2532
+ * @generated from field: bytes audio = 1;
2533
+ */
2534
+ audio: Uint8Array;
2535
+
2536
+ /**
2537
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
2538
+ */
2539
+ createdAt?: Timestamp;
2540
+
2541
+ /**
2542
+ * @generated from field: uint32 num_samples = 3;
2543
+ */
2544
+ numSamples: number;
2545
+
2546
+ constructor(data?: PartialMessage<InputAudio>);
2547
+
2548
+ static readonly runtime: typeof proto3;
2549
+ static readonly typeName = "livekit.agent.InputAudio";
2550
+ static readonly fields: FieldList;
2551
+
2552
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputAudio;
2553
+
2554
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputAudio;
2555
+
2556
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputAudio;
2557
+
2558
+ static equals(a: InputAudio | PlainMessage<InputAudio> | undefined, b: InputAudio | PlainMessage<InputAudio> | undefined): boolean;
2559
+ }
2560
+
2561
+ /**
2562
+ * @generated from message livekit.agent.EotInputChatContext
2563
+ */
2564
+ declare class EotInputChatContext extends Message<EotInputChatContext> {
2565
+ /**
2566
+ * @generated from field: repeated livekit.agent.ChatMessage messages = 1;
2567
+ */
2568
+ messages: ChatMessage$1[];
2569
+
2570
+ constructor(data?: PartialMessage<EotInputChatContext>);
2571
+
2572
+ static readonly runtime: typeof proto3;
2573
+ static readonly typeName = "livekit.agent.EotInputChatContext";
2574
+ static readonly fields: FieldList;
2575
+
2576
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInputChatContext;
2577
+
2578
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInputChatContext;
2579
+
2580
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInputChatContext;
2581
+
2582
+ static equals(a: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined, b: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined): boolean;
2583
+ }
2584
+
2585
+ /**
2586
+ * @generated from message livekit.agent.SessionFlush
2587
+ */
2588
+ declare class SessionFlush extends Message<SessionFlush> {
2589
+ constructor(data?: PartialMessage<SessionFlush>);
2590
+
2591
+ static readonly runtime: typeof proto3;
2592
+ static readonly typeName = "livekit.agent.SessionFlush";
2593
+ static readonly fields: FieldList;
2594
+
2595
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionFlush;
2596
+
2597
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionFlush;
2598
+
2599
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionFlush;
2600
+
2601
+ static equals(a: SessionFlush | PlainMessage<SessionFlush> | undefined, b: SessionFlush | PlainMessage<SessionFlush> | undefined): boolean;
2602
+ }
2603
+
2604
+ /**
2605
+ * @generated from message livekit.agent.SessionClose
2606
+ */
2607
+ declare class SessionClose extends Message<SessionClose> {
2608
+ constructor(data?: PartialMessage<SessionClose>);
2609
+
2610
+ static readonly runtime: typeof proto3;
2611
+ static readonly typeName = "livekit.agent.SessionClose";
2612
+ static readonly fields: FieldList;
2613
+
2614
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionClose;
2615
+
2616
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionClose;
2617
+
2618
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionClose;
2619
+
2620
+ static equals(a: SessionClose | PlainMessage<SessionClose> | undefined, b: SessionClose | PlainMessage<SessionClose> | undefined): boolean;
2621
+ }
2622
+
2623
+ /**
2624
+ * @generated from message livekit.agent.InferenceStart
2625
+ */
2626
+ declare class InferenceStart extends Message<InferenceStart> {
2627
+ /**
2628
+ * @generated from field: string request_id = 1;
2629
+ */
2630
+ requestId: string;
2631
+
2632
+ constructor(data?: PartialMessage<InferenceStart>);
2633
+
2634
+ static readonly runtime: typeof proto3;
2635
+ static readonly typeName = "livekit.agent.InferenceStart";
2636
+ static readonly fields: FieldList;
2637
+
2638
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStart;
2639
+
2640
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStart;
2641
+
2642
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStart;
2643
+
2644
+ static equals(a: InferenceStart | PlainMessage<InferenceStart> | undefined, b: InferenceStart | PlainMessage<InferenceStart> | undefined): boolean;
2645
+ }
2646
+
2647
+ /**
2648
+ * @generated from message livekit.agent.InferenceStop
2649
+ */
2650
+ declare class InferenceStop extends Message<InferenceStop> {
2651
+ /**
2652
+ * @generated from field: string request_id = 1;
2653
+ */
2654
+ requestId: string;
2655
+
2656
+ constructor(data?: PartialMessage<InferenceStop>);
2657
+
2658
+ static readonly runtime: typeof proto3;
2659
+ static readonly typeName = "livekit.agent.InferenceStop";
2660
+ static readonly fields: FieldList;
2661
+
2662
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStop;
2663
+
2664
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStop;
2665
+
2666
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStop;
2667
+
2668
+ static equals(a: InferenceStop | PlainMessage<InferenceStop> | undefined, b: InferenceStop | PlainMessage<InferenceStop> | undefined): boolean;
2669
+ }
2670
+
2671
+ /**
2672
+ * audio buffer sentinel messages
2673
+ *
2674
+ * @generated from message livekit.agent.BufferStart
2675
+ */
2676
+ declare class BufferStart extends Message<BufferStart> {
2677
+ constructor(data?: PartialMessage<BufferStart>);
2678
+
2679
+ static readonly runtime: typeof proto3;
2680
+ static readonly typeName = "livekit.agent.BufferStart";
2681
+ static readonly fields: FieldList;
2682
+
2683
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufferStart;
2684
+
2685
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufferStart;
2686
+
2687
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufferStart;
2688
+
2689
+ static equals(a: BufferStart | PlainMessage<BufferStart> | undefined, b: BufferStart | PlainMessage<BufferStart> | undefined): boolean;
2690
+ }
2691
+
2692
+ /**
2693
+ * @generated from message livekit.agent.BufferStop
2694
+ */
2695
+ declare class BufferStop extends Message<BufferStop> {
2696
+ constructor(data?: PartialMessage<BufferStop>);
2697
+
2698
+ static readonly runtime: typeof proto3;
2699
+ static readonly typeName = "livekit.agent.BufferStop";
2700
+ static readonly fields: FieldList;
2701
+
2702
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufferStop;
2703
+
2704
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufferStop;
2705
+
2706
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufferStop;
2707
+
2708
+ static equals(a: BufferStop | PlainMessage<BufferStop> | undefined, b: BufferStop | PlainMessage<BufferStop> | undefined): boolean;
2709
+ }
2710
+
2711
+ /**
2712
+ * @generated from message livekit.agent.ClientMessage
2713
+ */
2714
+ declare class ClientMessage extends Message<ClientMessage> {
2715
+ /**
2716
+ * @generated from field: google.protobuf.Timestamp created_at = 1;
2717
+ */
2718
+ createdAt?: Timestamp;
2719
+
2720
+ /**
2721
+ * @generated from oneof livekit.agent.ClientMessage.message
2722
+ */
2723
+ message: {
2724
+ /**
2725
+ * @generated from field: livekit.agent.SessionCreate session_create = 2;
2726
+ */
2727
+ value: SessionCreate;
2728
+ case: "sessionCreate";
2729
+ } | {
2730
+ /**
2731
+ * @generated from field: livekit.agent.InputAudio input_audio = 3;
2732
+ */
2733
+ value: InputAudio;
2734
+ case: "inputAudio";
2735
+ } | {
2736
+ /**
2737
+ * @generated from field: livekit.agent.SessionFlush session_flush = 4;
2738
+ */
2739
+ value: SessionFlush;
2740
+ case: "sessionFlush";
2741
+ } | {
2742
+ /**
2743
+ * @generated from field: livekit.agent.SessionClose session_close = 5;
2744
+ */
2745
+ value: SessionClose;
2746
+ case: "sessionClose";
2747
+ } | {
2748
+ /**
2749
+ * @generated from field: livekit.agent.InferenceStart inference_start = 6;
2750
+ */
2751
+ value: InferenceStart;
2752
+ case: "inferenceStart";
2753
+ } | {
2754
+ /**
2755
+ * @generated from field: livekit.agent.InferenceStop inference_stop = 7;
2756
+ */
2757
+ value: InferenceStop;
2758
+ case: "inferenceStop";
2759
+ } | {
2760
+ /**
2761
+ * @generated from field: livekit.agent.BufferStart buffer_start = 8;
2762
+ */
2763
+ value: BufferStart;
2764
+ case: "bufferStart";
2765
+ } | {
2766
+ /**
2767
+ * @generated from field: livekit.agent.BufferStop buffer_stop = 9;
2768
+ */
2769
+ value: BufferStop;
2770
+ case: "bufferStop";
2771
+ } | {
2772
+ /**
2773
+ * only for end of turn
2774
+ *
2775
+ * @generated from field: livekit.agent.EotInputChatContext eot_input_chat_context = 10;
2776
+ */
2777
+ value: EotInputChatContext;
2778
+ case: "eotInputChatContext";
2779
+ } | { case: undefined; value?: undefined };
2780
+
2781
+ constructor(data?: PartialMessage<ClientMessage>);
2782
+
2783
+ static readonly runtime: typeof proto3;
2784
+ static readonly typeName = "livekit.agent.ClientMessage";
2785
+ static readonly fields: FieldList;
2786
+
2787
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientMessage;
2788
+
2789
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientMessage;
2790
+
2791
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientMessage;
2792
+
2793
+ static equals(a: ClientMessage | PlainMessage<ClientMessage> | undefined, b: ClientMessage | PlainMessage<ClientMessage> | undefined): boolean;
2794
+ }
2795
+
2796
+ /**
2797
+ * @generated from message livekit.agent.EotInferenceRequest
2798
+ */
2799
+ declare class EotInferenceRequest extends Message<EotInferenceRequest> {
2800
+ /**
2801
+ * @generated from field: bytes audio = 1;
2802
+ */
2803
+ audio: Uint8Array;
2804
+
2805
+ /**
2806
+ * @generated from field: string assistant_text = 2;
2807
+ */
2808
+ assistantText: string;
2809
+
2810
+ /**
2811
+ * @generated from field: livekit.agent.AudioEncoding encoding = 3;
2812
+ */
2813
+ encoding: AudioEncoding;
2814
+
2815
+ /**
2816
+ * @generated from field: uint32 sample_rate = 4;
2817
+ */
2818
+ sampleRate: number;
2819
+
2820
+ constructor(data?: PartialMessage<EotInferenceRequest>);
2821
+
2822
+ static readonly runtime: typeof proto3;
2823
+ static readonly typeName = "livekit.agent.EotInferenceRequest";
2824
+ static readonly fields: FieldList;
2825
+
2826
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInferenceRequest;
2827
+
2828
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInferenceRequest;
2829
+
2830
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInferenceRequest;
2831
+
2832
+ static equals(a: EotInferenceRequest | PlainMessage<EotInferenceRequest> | undefined, b: EotInferenceRequest | PlainMessage<EotInferenceRequest> | undefined): boolean;
2833
+ }
2834
+
2835
+ /**
2836
+ * @generated from message livekit.agent.InterruptionInferenceRequest
2837
+ */
2838
+ declare class InterruptionInferenceRequest extends Message<InterruptionInferenceRequest> {
2839
+ /**
2840
+ * @generated from field: bytes audio = 1;
2841
+ */
2842
+ audio: Uint8Array;
2843
+
2844
+ /**
2845
+ * @generated from field: livekit.agent.AudioEncoding encoding = 2;
2846
+ */
2847
+ encoding: AudioEncoding;
2848
+
2849
+ /**
2850
+ * @generated from field: uint32 sample_rate = 3;
2851
+ */
2852
+ sampleRate: number;
2853
+
2854
+ constructor(data?: PartialMessage<InterruptionInferenceRequest>);
2855
+
2856
+ static readonly runtime: typeof proto3;
2857
+ static readonly typeName = "livekit.agent.InterruptionInferenceRequest";
2858
+ static readonly fields: FieldList;
2859
+
2860
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionInferenceRequest;
2861
+
2862
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionInferenceRequest;
2863
+
2864
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionInferenceRequest;
2865
+
2866
+ static equals(a: InterruptionInferenceRequest | PlainMessage<InterruptionInferenceRequest> | undefined, b: InterruptionInferenceRequest | PlainMessage<InterruptionInferenceRequest> | undefined): boolean;
2867
+ }
2868
+
2869
+ /**
2870
+ * @generated from message livekit.agent.InferenceRequest
2871
+ */
2872
+ declare class InferenceRequest extends Message<InferenceRequest> {
2873
+ /**
2874
+ * @generated from oneof livekit.agent.InferenceRequest.request
2875
+ */
2876
+ request: {
2877
+ /**
2878
+ * @generated from field: livekit.agent.EotInferenceRequest eot_inference_request = 1;
2879
+ */
2880
+ value: EotInferenceRequest;
2881
+ case: "eotInferenceRequest";
2882
+ } | {
2883
+ /**
2884
+ * @generated from field: livekit.agent.InterruptionInferenceRequest interruption_inference_request = 2;
2885
+ */
2886
+ value: InterruptionInferenceRequest;
2887
+ case: "interruptionInferenceRequest";
2888
+ } | { case: undefined; value?: undefined };
2889
+
2890
+ constructor(data?: PartialMessage<InferenceRequest>);
2891
+
2892
+ static readonly runtime: typeof proto3;
2893
+ static readonly typeName = "livekit.agent.InferenceRequest";
2894
+ static readonly fields: FieldList;
2895
+
2896
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceRequest;
2897
+
2898
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceRequest;
2899
+
2900
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceRequest;
2901
+
2902
+ static equals(a: InferenceRequest | PlainMessage<InferenceRequest> | undefined, b: InferenceRequest | PlainMessage<InferenceRequest> | undefined): boolean;
2903
+ }
2904
+
2905
+ /**
2906
+ * @generated from message livekit.agent.InferenceStats
2907
+ */
2908
+ declare class InferenceStats extends Message<InferenceStats> {
2909
+ /**
2910
+ * proxy -> model: audio window timestamps
2911
+ *
2912
+ * @generated from field: optional google.protobuf.Timestamp earliest_client_created_at = 1;
2913
+ */
2914
+ earliestClientCreatedAt?: Timestamp;
2915
+
2916
+ /**
2917
+ * @generated from field: optional google.protobuf.Timestamp latest_client_created_at = 2;
2918
+ */
2919
+ latestClientCreatedAt?: Timestamp;
2920
+
2921
+ /**
2922
+ * proxy side e2e latency (proxy send -> proxy receive)
2923
+ *
2924
+ * @generated from field: optional google.protobuf.Duration client_e2e_latency = 3;
2925
+ */
2926
+ clientE2eLatency?: Duration;
2927
+
2928
+ /**
2929
+ * model side e2e latency (model endpoint receive -> model endpoint return)
2930
+ *
2931
+ * @generated from field: google.protobuf.Duration server_e2e_latency = 4;
2932
+ */
2933
+ serverE2eLatency?: Duration;
2934
+
2935
+ /**
2936
+ * model side inference stats
2937
+ *
2938
+ * @generated from field: google.protobuf.Duration preprocessing_duration = 5;
2939
+ */
2940
+ preprocessingDuration?: Duration;
2941
+
2942
+ /**
2943
+ * @generated from field: google.protobuf.Duration inference_duration = 6;
2944
+ */
2945
+ inferenceDuration?: Duration;
2946
+
2947
+ constructor(data?: PartialMessage<InferenceStats>);
2948
+
2949
+ static readonly runtime: typeof proto3;
2950
+ static readonly typeName = "livekit.agent.InferenceStats";
2951
+ static readonly fields: FieldList;
2952
+
2953
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStats;
2954
+
2955
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStats;
2956
+
2957
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStats;
2958
+
2959
+ static equals(a: InferenceStats | PlainMessage<InferenceStats> | undefined, b: InferenceStats | PlainMessage<InferenceStats> | undefined): boolean;
2960
+ }
2961
+
2962
+ /**
2963
+ * @generated from message livekit.agent.EotInferenceResponse
2964
+ */
2965
+ declare class EotInferenceResponse extends Message<EotInferenceResponse> {
2966
+ /**
2967
+ * @generated from field: float probability = 1;
2968
+ */
2969
+ probability: number;
2970
+
2971
+ /**
2972
+ * @generated from field: livekit.agent.InferenceStats stats = 2;
2973
+ */
2974
+ stats?: InferenceStats;
2975
+
2976
+ constructor(data?: PartialMessage<EotInferenceResponse>);
2977
+
2978
+ static readonly runtime: typeof proto3;
2979
+ static readonly typeName = "livekit.agent.EotInferenceResponse";
2980
+ static readonly fields: FieldList;
2981
+
2982
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInferenceResponse;
2983
+
2984
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInferenceResponse;
2985
+
2986
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInferenceResponse;
2987
+
2988
+ static equals(a: EotInferenceResponse | PlainMessage<EotInferenceResponse> | undefined, b: EotInferenceResponse | PlainMessage<EotInferenceResponse> | undefined): boolean;
2989
+ }
2990
+
2991
+ /**
2992
+ * @generated from message livekit.agent.InterruptionInferenceResponse
2993
+ */
2994
+ declare class InterruptionInferenceResponse extends Message<InterruptionInferenceResponse> {
2995
+ /**
2996
+ * @generated from field: bool is_interruption = 1;
2997
+ */
2998
+ isInterruption: boolean;
2999
+
3000
+ /**
3001
+ * per frame probabilities
3002
+ *
3003
+ * @generated from field: repeated float probabilities = 2;
3004
+ */
3005
+ probabilities: number[];
3006
+
3007
+ /**
3008
+ * @generated from field: livekit.agent.InferenceStats stats = 3;
3009
+ */
3010
+ stats?: InferenceStats;
3011
+
3012
+ constructor(data?: PartialMessage<InterruptionInferenceResponse>);
3013
+
3014
+ static readonly runtime: typeof proto3;
3015
+ static readonly typeName = "livekit.agent.InterruptionInferenceResponse";
3016
+ static readonly fields: FieldList;
3017
+
3018
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionInferenceResponse;
3019
+
3020
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionInferenceResponse;
3021
+
3022
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionInferenceResponse;
3023
+
3024
+ static equals(a: InterruptionInferenceResponse | PlainMessage<InterruptionInferenceResponse> | undefined, b: InterruptionInferenceResponse | PlainMessage<InterruptionInferenceResponse> | undefined): boolean;
3025
+ }
3026
+
3027
+ /**
3028
+ * @generated from message livekit.agent.InferenceResponse
3029
+ */
3030
+ declare class InferenceResponse extends Message<InferenceResponse> {
3031
+ /**
3032
+ * @generated from oneof livekit.agent.InferenceResponse.response
3033
+ */
3034
+ response: {
3035
+ /**
3036
+ * @generated from field: livekit.agent.EotInferenceResponse eot_inference_response = 1;
3037
+ */
3038
+ value: EotInferenceResponse;
3039
+ case: "eotInferenceResponse";
3040
+ } | {
3041
+ /**
3042
+ * @generated from field: livekit.agent.InterruptionInferenceResponse interruption_inference_response = 2;
3043
+ */
3044
+ value: InterruptionInferenceResponse;
3045
+ case: "interruptionInferenceResponse";
3046
+ } | { case: undefined; value?: undefined };
3047
+
3048
+ constructor(data?: PartialMessage<InferenceResponse>);
3049
+
3050
+ static readonly runtime: typeof proto3;
3051
+ static readonly typeName = "livekit.agent.InferenceResponse";
3052
+ static readonly fields: FieldList;
3053
+
3054
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceResponse;
3055
+
3056
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceResponse;
3057
+
3058
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceResponse;
3059
+
3060
+ static equals(a: InferenceResponse | PlainMessage<InferenceResponse> | undefined, b: InferenceResponse | PlainMessage<InferenceResponse> | undefined): boolean;
3061
+ }
3062
+
3063
+ /**
3064
+ * @generated from message livekit.agent.SessionCreated
3065
+ */
3066
+ declare class SessionCreated extends Message<SessionCreated> {
3067
+ constructor(data?: PartialMessage<SessionCreated>);
3068
+
3069
+ static readonly runtime: typeof proto3;
3070
+ static readonly typeName = "livekit.agent.SessionCreated";
3071
+ static readonly fields: FieldList;
3072
+
3073
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionCreated;
3074
+
3075
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionCreated;
3076
+
3077
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionCreated;
3078
+
3079
+ static equals(a: SessionCreated | PlainMessage<SessionCreated> | undefined, b: SessionCreated | PlainMessage<SessionCreated> | undefined): boolean;
3080
+ }
3081
+
3082
+ /**
3083
+ * @generated from message livekit.agent.InferenceStarted
3084
+ */
3085
+ declare class InferenceStarted extends Message<InferenceStarted> {
3086
+ constructor(data?: PartialMessage<InferenceStarted>);
3087
+
3088
+ static readonly runtime: typeof proto3;
3089
+ static readonly typeName = "livekit.agent.InferenceStarted";
3090
+ static readonly fields: FieldList;
3091
+
3092
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStarted;
3093
+
3094
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStarted;
3095
+
3096
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStarted;
3097
+
3098
+ static equals(a: InferenceStarted | PlainMessage<InferenceStarted> | undefined, b: InferenceStarted | PlainMessage<InferenceStarted> | undefined): boolean;
3099
+ }
3100
+
3101
+ /**
3102
+ * @generated from message livekit.agent.InferenceStopped
3103
+ */
3104
+ declare class InferenceStopped extends Message<InferenceStopped> {
3105
+ constructor(data?: PartialMessage<InferenceStopped>);
3106
+
3107
+ static readonly runtime: typeof proto3;
3108
+ static readonly typeName = "livekit.agent.InferenceStopped";
3109
+ static readonly fields: FieldList;
3110
+
3111
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStopped;
3112
+
3113
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStopped;
3114
+
3115
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStopped;
3116
+
3117
+ static equals(a: InferenceStopped | PlainMessage<InferenceStopped> | undefined, b: InferenceStopped | PlainMessage<InferenceStopped> | undefined): boolean;
3118
+ }
3119
+
3120
+ /**
3121
+ * @generated from message livekit.agent.SessionClosed
3122
+ */
3123
+ declare class SessionClosed extends Message<SessionClosed> {
3124
+ constructor(data?: PartialMessage<SessionClosed>);
3125
+
3126
+ static readonly runtime: typeof proto3;
3127
+ static readonly typeName = "livekit.agent.SessionClosed";
3128
+ static readonly fields: FieldList;
3129
+
3130
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionClosed;
3131
+
3132
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionClosed;
3133
+
3134
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionClosed;
3135
+
3136
+ static equals(a: SessionClosed | PlainMessage<SessionClosed> | undefined, b: SessionClosed | PlainMessage<SessionClosed> | undefined): boolean;
3137
+ }
3138
+
3139
+ /**
3140
+ * @generated from message livekit.agent.EotPrediction
3141
+ */
3142
+ declare class EotPrediction extends Message<EotPrediction> {
3143
+ /**
3144
+ * @generated from field: float probability = 1;
3145
+ */
3146
+ probability: number;
3147
+
3148
+ /**
3149
+ * @generated from field: livekit.agent.InferenceStats inference_stats = 2;
3150
+ */
3151
+ inferenceStats?: InferenceStats;
3152
+
3153
+ /**
3154
+ * @generated from field: livekit.agent.EotPrediction.EotBackend backend = 3;
3155
+ */
3156
+ backend: EotPrediction_EotBackend;
3157
+
3158
+ constructor(data?: PartialMessage<EotPrediction>);
3159
+
3160
+ static readonly runtime: typeof proto3;
3161
+ static readonly typeName = "livekit.agent.EotPrediction";
3162
+ static readonly fields: FieldList;
3163
+
3164
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotPrediction;
3165
+
3166
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotPrediction;
3167
+
3168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotPrediction;
3169
+
3170
+ static equals(a: EotPrediction | PlainMessage<EotPrediction> | undefined, b: EotPrediction | PlainMessage<EotPrediction> | undefined): boolean;
3171
+ }
3172
+
3173
+ /**
3174
+ * @generated from enum livekit.agent.EotPrediction.EotBackend
3175
+ */
3176
+ declare enum EotPrediction_EotBackend {
3177
+ /**
3178
+ * @generated from enum value: EOT_BACKEND_UNKNOWN = 0;
3179
+ */
3180
+ UNKNOWN = 0,
3181
+
3182
+ /**
3183
+ * @generated from enum value: EOT_BACKEND_MULTIMODAL = 1;
3184
+ */
3185
+ MULTIMODAL = 1,
3186
+
3187
+ /**
3188
+ * @generated from enum value: EOT_BACKEND_TEXT = 2;
3189
+ */
3190
+ TEXT = 2,
3191
+ }
3192
+
3193
+ /**
3194
+ * @generated from message livekit.agent.InterruptionPrediction
3195
+ */
3196
+ declare class InterruptionPrediction extends Message<InterruptionPrediction> {
3197
+ /**
3198
+ * @generated from field: bool is_interruption = 1;
3199
+ */
3200
+ isInterruption: boolean;
3201
+
3202
+ /**
3203
+ * @generated from field: repeated float probabilities = 2;
3204
+ */
3205
+ probabilities: number[];
3206
+
3207
+ /**
3208
+ * @generated from field: livekit.agent.InferenceStats inference_stats = 3;
3209
+ */
3210
+ inferenceStats?: InferenceStats;
3211
+
3212
+ constructor(data?: PartialMessage<InterruptionPrediction>);
3213
+
3214
+ static readonly runtime: typeof proto3;
3215
+ static readonly typeName = "livekit.agent.InterruptionPrediction";
3216
+ static readonly fields: FieldList;
3217
+
3218
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionPrediction;
3219
+
3220
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionPrediction;
3221
+
3222
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionPrediction;
3223
+
3224
+ static equals(a: InterruptionPrediction | PlainMessage<InterruptionPrediction> | undefined, b: InterruptionPrediction | PlainMessage<InterruptionPrediction> | undefined): boolean;
3225
+ }
3226
+
3227
+ /**
3228
+ * @generated from message livekit.agent.ServerMessage
3229
+ */
3230
+ declare class ServerMessage$1 extends Message<ServerMessage$1> {
3231
+ /**
3232
+ * @generated from field: google.protobuf.Timestamp server_created_at = 1;
3233
+ */
3234
+ serverCreatedAt?: Timestamp;
3235
+
3236
+ /**
3237
+ * @generated from field: optional string request_id = 2;
3238
+ */
3239
+ requestId?: string;
3240
+
3241
+ /**
3242
+ * echoes the client-side created_at timestamp
3243
+ *
3244
+ * @generated from field: optional google.protobuf.Timestamp client_created_at = 3;
3245
+ */
3246
+ clientCreatedAt?: Timestamp;
3247
+
3248
+ /**
3249
+ * @generated from oneof livekit.agent.ServerMessage.message
3250
+ */
3251
+ message: {
3252
+ /**
3253
+ * @generated from field: livekit.agent.SessionCreated session_created = 4;
3254
+ */
3255
+ value: SessionCreated;
3256
+ case: "sessionCreated";
3257
+ } | {
3258
+ /**
3259
+ * @generated from field: livekit.agent.InferenceStarted inference_started = 5;
3260
+ */
3261
+ value: InferenceStarted;
3262
+ case: "inferenceStarted";
3263
+ } | {
3264
+ /**
3265
+ * @generated from field: livekit.agent.InferenceStopped inference_stopped = 6;
3266
+ */
3267
+ value: InferenceStopped;
3268
+ case: "inferenceStopped";
3269
+ } | {
3270
+ /**
3271
+ * @generated from field: livekit.agent.SessionClosed session_closed = 7;
3272
+ */
3273
+ value: SessionClosed;
3274
+ case: "sessionClosed";
3275
+ } | {
3276
+ /**
3277
+ * @generated from field: livekit.agent.InferenceError error = 8;
3278
+ */
3279
+ value: InferenceError;
3280
+ case: "error";
3281
+ } | {
3282
+ /**
3283
+ * @generated from field: livekit.agent.EotPrediction eot_prediction = 9;
3284
+ */
3285
+ value: EotPrediction;
3286
+ case: "eotPrediction";
3287
+ } | {
3288
+ /**
3289
+ * @generated from field: livekit.agent.InterruptionPrediction interruption_prediction = 10;
3290
+ */
3291
+ value: InterruptionPrediction;
3292
+ case: "interruptionPrediction";
3293
+ } | { case: undefined; value?: undefined };
3294
+
3295
+ constructor(data?: PartialMessage<ServerMessage$1>);
3296
+
3297
+ static readonly runtime: typeof proto3;
3298
+ static readonly typeName = "livekit.agent.ServerMessage";
3299
+ static readonly fields: FieldList;
3300
+
3301
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerMessage$1;
3302
+
3303
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerMessage$1;
3304
+
3305
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerMessage$1;
3306
+
3307
+ static equals(a: ServerMessage$1 | PlainMessage<ServerMessage$1> | undefined, b: ServerMessage$1 | PlainMessage<ServerMessage$1> | undefined): boolean;
3308
+ }
3309
+
3310
+ type livekit_agent_inference_pb_d_AudioEncoding = AudioEncoding;
3311
+ declare const livekit_agent_inference_pb_d_AudioEncoding: typeof AudioEncoding;
3312
+ type livekit_agent_inference_pb_d_BufferStart = BufferStart;
3313
+ declare const livekit_agent_inference_pb_d_BufferStart: typeof BufferStart;
3314
+ type livekit_agent_inference_pb_d_BufferStop = BufferStop;
3315
+ declare const livekit_agent_inference_pb_d_BufferStop: typeof BufferStop;
3316
+ type livekit_agent_inference_pb_d_ClientMessage = ClientMessage;
3317
+ declare const livekit_agent_inference_pb_d_ClientMessage: typeof ClientMessage;
3318
+ type livekit_agent_inference_pb_d_EotInferenceRequest = EotInferenceRequest;
3319
+ declare const livekit_agent_inference_pb_d_EotInferenceRequest: typeof EotInferenceRequest;
3320
+ type livekit_agent_inference_pb_d_EotInferenceResponse = EotInferenceResponse;
3321
+ declare const livekit_agent_inference_pb_d_EotInferenceResponse: typeof EotInferenceResponse;
3322
+ type livekit_agent_inference_pb_d_EotInputChatContext = EotInputChatContext;
3323
+ declare const livekit_agent_inference_pb_d_EotInputChatContext: typeof EotInputChatContext;
3324
+ type livekit_agent_inference_pb_d_EotPrediction = EotPrediction;
3325
+ declare const livekit_agent_inference_pb_d_EotPrediction: typeof EotPrediction;
3326
+ type livekit_agent_inference_pb_d_EotPrediction_EotBackend = EotPrediction_EotBackend;
3327
+ declare const livekit_agent_inference_pb_d_EotPrediction_EotBackend: typeof EotPrediction_EotBackend;
3328
+ type livekit_agent_inference_pb_d_EotSettings = EotSettings;
3329
+ declare const livekit_agent_inference_pb_d_EotSettings: typeof EotSettings;
3330
+ type livekit_agent_inference_pb_d_InferenceError = InferenceError;
3331
+ declare const livekit_agent_inference_pb_d_InferenceError: typeof InferenceError;
3332
+ type livekit_agent_inference_pb_d_InferenceRequest = InferenceRequest;
3333
+ declare const livekit_agent_inference_pb_d_InferenceRequest: typeof InferenceRequest;
3334
+ type livekit_agent_inference_pb_d_InferenceResponse = InferenceResponse;
3335
+ declare const livekit_agent_inference_pb_d_InferenceResponse: typeof InferenceResponse;
3336
+ type livekit_agent_inference_pb_d_InferenceStart = InferenceStart;
3337
+ declare const livekit_agent_inference_pb_d_InferenceStart: typeof InferenceStart;
3338
+ type livekit_agent_inference_pb_d_InferenceStarted = InferenceStarted;
3339
+ declare const livekit_agent_inference_pb_d_InferenceStarted: typeof InferenceStarted;
3340
+ type livekit_agent_inference_pb_d_InferenceStats = InferenceStats;
3341
+ declare const livekit_agent_inference_pb_d_InferenceStats: typeof InferenceStats;
3342
+ type livekit_agent_inference_pb_d_InferenceStop = InferenceStop;
3343
+ declare const livekit_agent_inference_pb_d_InferenceStop: typeof InferenceStop;
3344
+ type livekit_agent_inference_pb_d_InferenceStopped = InferenceStopped;
3345
+ declare const livekit_agent_inference_pb_d_InferenceStopped: typeof InferenceStopped;
3346
+ type livekit_agent_inference_pb_d_InputAudio = InputAudio;
3347
+ declare const livekit_agent_inference_pb_d_InputAudio: typeof InputAudio;
3348
+ type livekit_agent_inference_pb_d_InterruptionInferenceRequest = InterruptionInferenceRequest;
3349
+ declare const livekit_agent_inference_pb_d_InterruptionInferenceRequest: typeof InterruptionInferenceRequest;
3350
+ type livekit_agent_inference_pb_d_InterruptionInferenceResponse = InterruptionInferenceResponse;
3351
+ declare const livekit_agent_inference_pb_d_InterruptionInferenceResponse: typeof InterruptionInferenceResponse;
3352
+ type livekit_agent_inference_pb_d_InterruptionPrediction = InterruptionPrediction;
3353
+ declare const livekit_agent_inference_pb_d_InterruptionPrediction: typeof InterruptionPrediction;
3354
+ type livekit_agent_inference_pb_d_InterruptionSettings = InterruptionSettings;
3355
+ declare const livekit_agent_inference_pb_d_InterruptionSettings: typeof InterruptionSettings;
3356
+ type livekit_agent_inference_pb_d_SessionClose = SessionClose;
3357
+ declare const livekit_agent_inference_pb_d_SessionClose: typeof SessionClose;
3358
+ type livekit_agent_inference_pb_d_SessionClosed = SessionClosed;
3359
+ declare const livekit_agent_inference_pb_d_SessionClosed: typeof SessionClosed;
3360
+ type livekit_agent_inference_pb_d_SessionCreate = SessionCreate;
3361
+ declare const livekit_agent_inference_pb_d_SessionCreate: typeof SessionCreate;
3362
+ type livekit_agent_inference_pb_d_SessionCreated = SessionCreated;
3363
+ declare const livekit_agent_inference_pb_d_SessionCreated: typeof SessionCreated;
3364
+ type livekit_agent_inference_pb_d_SessionFlush = SessionFlush;
3365
+ declare const livekit_agent_inference_pb_d_SessionFlush: typeof SessionFlush;
3366
+ type livekit_agent_inference_pb_d_SessionSettings = SessionSettings;
3367
+ declare const livekit_agent_inference_pb_d_SessionSettings: typeof SessionSettings;
3368
+ declare namespace livekit_agent_inference_pb_d {
3369
+ export { livekit_agent_inference_pb_d_AudioEncoding as AudioEncoding, livekit_agent_inference_pb_d_BufferStart as BufferStart, livekit_agent_inference_pb_d_BufferStop as BufferStop, livekit_agent_inference_pb_d_ClientMessage as ClientMessage, livekit_agent_inference_pb_d_EotInferenceRequest as EotInferenceRequest, livekit_agent_inference_pb_d_EotInferenceResponse as EotInferenceResponse, livekit_agent_inference_pb_d_EotInputChatContext as EotInputChatContext, livekit_agent_inference_pb_d_EotPrediction as EotPrediction, livekit_agent_inference_pb_d_EotPrediction_EotBackend as EotPrediction_EotBackend, livekit_agent_inference_pb_d_EotSettings as EotSettings, livekit_agent_inference_pb_d_InferenceError as InferenceError, livekit_agent_inference_pb_d_InferenceRequest as InferenceRequest, livekit_agent_inference_pb_d_InferenceResponse as InferenceResponse, livekit_agent_inference_pb_d_InferenceStart as InferenceStart, livekit_agent_inference_pb_d_InferenceStarted as InferenceStarted, livekit_agent_inference_pb_d_InferenceStats as InferenceStats, livekit_agent_inference_pb_d_InferenceStop as InferenceStop, livekit_agent_inference_pb_d_InferenceStopped as InferenceStopped, livekit_agent_inference_pb_d_InputAudio as InputAudio, livekit_agent_inference_pb_d_InterruptionInferenceRequest as InterruptionInferenceRequest, livekit_agent_inference_pb_d_InterruptionInferenceResponse as InterruptionInferenceResponse, livekit_agent_inference_pb_d_InterruptionPrediction as InterruptionPrediction, livekit_agent_inference_pb_d_InterruptionSettings as InterruptionSettings, ServerMessage$1 as ServerMessage, livekit_agent_inference_pb_d_SessionClose as SessionClose, livekit_agent_inference_pb_d_SessionClosed as SessionClosed, livekit_agent_inference_pb_d_SessionCreate as SessionCreate, livekit_agent_inference_pb_d_SessionCreated as SessionCreated, livekit_agent_inference_pb_d_SessionFlush as SessionFlush, livekit_agent_inference_pb_d_SessionSettings as SessionSettings };
3370
+ }
3371
+
3372
+ // Copyright 2023 LiveKit, Inc.
3373
+ //
3374
+ // Licensed under the Apache License, Version 2.0 (the "License");
3375
+ // you may not use this file except in compliance with the License.
3376
+ // You may obtain a copy of the License at
3377
+ //
3378
+ // http://www.apache.org/licenses/LICENSE-2.0
3379
+ //
3380
+ // Unless required by applicable law or agreed to in writing, software
3381
+ // distributed under the License is distributed on an "AS IS" BASIS,
3382
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3383
+ // See the License for the specific language governing permissions and
3384
+ // limitations under the License.
3385
+
3386
+
3387
+
3388
+ /**
3389
+ * @generated from enum livekit.agent.TextMessageErrorCode
3390
+ */
3391
+ declare enum TextMessageErrorCode {
3392
+ /**
3393
+ * Unexpected internal error
3394
+ *
3395
+ * @generated from enum value: INTERNAL_ERROR = 0;
3396
+ */
3397
+ INTERNAL_ERROR = 0,
3398
+
3399
+ /**
3400
+ * Session state not found in cache or version mismatch
3401
+ *
3402
+ * @generated from enum value: SESSION_STATE_NOT_FOUND = 1;
3403
+ */
3404
+ SESSION_STATE_NOT_FOUND = 1,
3405
+
3406
+ /**
3407
+ * An exception was raised inside the user's text handler
3408
+ *
3409
+ * @generated from enum value: TEXT_HANDLER_ERROR = 2;
3410
+ */
3411
+ TEXT_HANDLER_ERROR = 2,
3412
+
3413
+ /**
3414
+ * The worker process exited before the text session completed
3415
+ *
3416
+ * @generated from enum value: PROCESS_CLOSED = 3;
3417
+ */
3418
+ PROCESS_CLOSED = 3,
3419
+ }
3420
+
3421
+ /**
3422
+ * Request to send a text message to an agent.
3423
+ *
3424
+ * @generated from message livekit.agent.TextMessageRequest
3425
+ */
3426
+ declare class TextMessageRequest extends Message<TextMessageRequest> {
3427
+ /**
3428
+ * @generated from field: string text = 1;
3429
+ */
3430
+ text: string;
3431
+
3432
+ /**
3433
+ * @generated from field: string message_id = 2;
3434
+ */
3435
+ messageId: string;
3436
+
3437
+ /**
3438
+ * @generated from field: string session_id = 3;
3439
+ */
3440
+ sessionId: string;
3441
+
3442
+ /**
3443
+ * @generated from field: string agent_name = 4;
3444
+ */
3445
+ agentName: string;
3446
+
3447
+ /**
3448
+ * @generated from field: string metadata = 5;
3449
+ */
3450
+ metadata: string;
3451
+
3452
+ /**
3453
+ * @generated from field: optional livekit.agent.AgentSessionState session_state = 6;
3454
+ */
3455
+ sessionState?: AgentSessionState;
3456
+
3457
+ constructor(data?: PartialMessage<TextMessageRequest>);
3458
+
3459
+ static readonly runtime: typeof proto3;
3460
+ static readonly typeName = "livekit.agent.TextMessageRequest";
3461
+ static readonly fields: FieldList;
3462
+
3463
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageRequest;
3464
+
3465
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageRequest;
3466
+
3467
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageRequest;
3468
+
3469
+ static equals(a: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined, b: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined): boolean;
3470
+ }
3471
+
3472
+ /**
3473
+ * Response to a text message request, multiple responses may be sent for a single request until it is complete.
3474
+ *
3475
+ * @generated from message livekit.agent.TextMessageResponse
3476
+ */
3477
+ declare class TextMessageResponse extends Message<TextMessageResponse> {
3478
+ /**
3479
+ * @generated from field: string message_id = 1;
3480
+ */
3481
+ messageId: string;
3482
+
3483
+ /**
3484
+ * @generated from field: string session_id = 2;
3485
+ */
3486
+ sessionId: string;
3487
+
3488
+ /**
3489
+ * @generated from oneof livekit.agent.TextMessageResponse.event
3490
+ */
3491
+ event: {
3492
+ /**
3493
+ * @generated from field: livekit.agent.ChatMessage message = 3;
3494
+ */
3495
+ value: ChatMessage$1;
3496
+ case: "message";
3497
+ } | {
3498
+ /**
3499
+ * @generated from field: livekit.agent.FunctionCall function_call = 4;
3500
+ */
3501
+ value: FunctionCall;
3502
+ case: "functionCall";
3503
+ } | {
3504
+ /**
3505
+ * @generated from field: livekit.agent.FunctionCallOutput function_call_output = 5;
3506
+ */
3507
+ value: FunctionCallOutput;
3508
+ case: "functionCallOutput";
3509
+ } | {
3510
+ /**
3511
+ * @generated from field: livekit.agent.AgentHandoff agent_handoff = 6;
3512
+ */
3513
+ value: AgentHandoff;
3514
+ case: "agentHandoff";
3515
+ } | {
3516
+ /**
3517
+ * @generated from field: livekit.agent.TextMessageComplete complete = 7;
3518
+ */
3519
+ value: TextMessageComplete;
3520
+ case: "complete";
3521
+ } | { case: undefined; value?: undefined };
3522
+
3523
+ constructor(data?: PartialMessage<TextMessageResponse>);
3524
+
3525
+ static readonly runtime: typeof proto3;
3526
+ static readonly typeName = "livekit.agent.TextMessageResponse";
3527
+ static readonly fields: FieldList;
3528
+
3529
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageResponse;
3530
+
3531
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageResponse;
3532
+
3533
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageResponse;
3534
+
3535
+ static equals(a: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined, b: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined): boolean;
3536
+ }
3537
+
3538
+ /**
3539
+ * Indicates the text message session is complete.
3540
+ *
3541
+ * @generated from message livekit.agent.TextMessageComplete
3542
+ */
3543
+ declare class TextMessageComplete extends Message<TextMessageComplete> {
3544
+ /**
3545
+ * @generated from oneof livekit.agent.TextMessageComplete.result
3546
+ */
3547
+ result: {
3548
+ /**
3549
+ * @generated from field: livekit.agent.AgentSessionState session_state = 1;
3550
+ */
3551
+ value: AgentSessionState;
3552
+ case: "sessionState";
3553
+ } | {
3554
+ /**
3555
+ * @generated from field: livekit.agent.TextMessageError error = 2;
3556
+ */
3557
+ value: TextMessageError;
3558
+ case: "error";
3559
+ } | { case: undefined; value?: undefined };
3560
+
3561
+ constructor(data?: PartialMessage<TextMessageComplete>);
3562
+
3563
+ static readonly runtime: typeof proto3;
3564
+ static readonly typeName = "livekit.agent.TextMessageComplete";
3565
+ static readonly fields: FieldList;
3566
+
3567
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageComplete;
3568
+
3569
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageComplete;
3570
+
3571
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageComplete;
3572
+
3573
+ static equals(a: TextMessageComplete | PlainMessage<TextMessageComplete> | undefined, b: TextMessageComplete | PlainMessage<TextMessageComplete> | undefined): boolean;
3574
+ }
3575
+
3576
+ /**
3577
+ * @generated from message livekit.agent.AgentSessionState
3578
+ */
3579
+ declare class AgentSessionState extends Message<AgentSessionState> {
3580
+ /**
3581
+ * @generated from field: uint64 version = 1;
3582
+ */
3583
+ version: bigint;
3584
+
3585
+ /**
3586
+ * @generated from oneof livekit.agent.AgentSessionState.data
3587
+ */
3588
+ data: {
3589
+ /**
3590
+ * @generated from field: bytes snapshot = 2;
3591
+ */
3592
+ value: Uint8Array;
3593
+ case: "snapshot";
3594
+ } | {
3595
+ /**
3596
+ * @generated from field: bytes delta = 3;
3597
+ */
3598
+ value: Uint8Array;
3599
+ case: "delta";
3600
+ } | { case: undefined; value?: undefined };
3601
+
3602
+ constructor(data?: PartialMessage<AgentSessionState>);
3603
+
3604
+ static readonly runtime: typeof proto3;
3605
+ static readonly typeName = "livekit.agent.AgentSessionState";
3606
+ static readonly fields: FieldList;
3607
+
3608
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionState;
3609
+
3610
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionState;
3611
+
3612
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionState;
3613
+
3614
+ static equals(a: AgentSessionState | PlainMessage<AgentSessionState> | undefined, b: AgentSessionState | PlainMessage<AgentSessionState> | undefined): boolean;
3615
+ }
3616
+
3617
+ /**
3618
+ * @generated from message livekit.agent.TextMessageError
3619
+ */
3620
+ declare class TextMessageError extends Message<TextMessageError> {
3621
+ /**
3622
+ * @generated from field: string message = 1;
3623
+ */
3624
+ message: string;
3625
+
3626
+ /**
3627
+ * @generated from field: livekit.agent.TextMessageErrorCode code = 2;
3628
+ */
3629
+ code: TextMessageErrorCode;
3630
+
3631
+ constructor(data?: PartialMessage<TextMessageError>);
3632
+
3633
+ static readonly runtime: typeof proto3;
3634
+ static readonly typeName = "livekit.agent.TextMessageError";
3635
+ static readonly fields: FieldList;
3636
+
3637
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageError;
3638
+
3639
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageError;
3640
+
3641
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageError;
3642
+
3643
+ static equals(a: TextMessageError | PlainMessage<TextMessageError> | undefined, b: TextMessageError | PlainMessage<TextMessageError> | undefined): boolean;
3644
+ }
3645
+
3646
+ type livekit_agent_text_pb_d_AgentSessionState = AgentSessionState;
3647
+ declare const livekit_agent_text_pb_d_AgentSessionState: typeof AgentSessionState;
3648
+ type livekit_agent_text_pb_d_TextMessageComplete = TextMessageComplete;
3649
+ declare const livekit_agent_text_pb_d_TextMessageComplete: typeof TextMessageComplete;
3650
+ type livekit_agent_text_pb_d_TextMessageError = TextMessageError;
3651
+ declare const livekit_agent_text_pb_d_TextMessageError: typeof TextMessageError;
3652
+ type livekit_agent_text_pb_d_TextMessageErrorCode = TextMessageErrorCode;
3653
+ declare const livekit_agent_text_pb_d_TextMessageErrorCode: typeof TextMessageErrorCode;
3654
+ type livekit_agent_text_pb_d_TextMessageRequest = TextMessageRequest;
3655
+ declare const livekit_agent_text_pb_d_TextMessageRequest: typeof TextMessageRequest;
3656
+ type livekit_agent_text_pb_d_TextMessageResponse = TextMessageResponse;
3657
+ declare const livekit_agent_text_pb_d_TextMessageResponse: typeof TextMessageResponse;
3658
+ declare namespace livekit_agent_text_pb_d {
3659
+ export { livekit_agent_text_pb_d_AgentSessionState as AgentSessionState, livekit_agent_text_pb_d_TextMessageComplete as TextMessageComplete, livekit_agent_text_pb_d_TextMessageError as TextMessageError, livekit_agent_text_pb_d_TextMessageErrorCode as TextMessageErrorCode, livekit_agent_text_pb_d_TextMessageRequest as TextMessageRequest, livekit_agent_text_pb_d_TextMessageResponse as TextMessageResponse };
3660
+ }
3661
+
3662
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
3663
+ // @generated from file agent/livekit_agent_dev.proto (package livekit.agent, syntax proto3)
3664
+ /* eslint-disable */
3665
+ // @ts-nocheck
3666
+
3667
+
3668
+
3669
+ /**
3670
+ * AgentDevMessage is used for IPC between the CLI and agent processes
3671
+ * during dev-mode hot reload.
3672
+ *
3673
+ * @generated from message livekit.agent.AgentDevMessage
3674
+ */
3675
+ declare class AgentDevMessage extends Message<AgentDevMessage> {
3676
+ /**
3677
+ * @generated from oneof livekit.agent.AgentDevMessage.message
3678
+ */
3679
+ message: {
3680
+ /**
3681
+ * @generated from field: livekit.agent.GetRunningAgentJobsRequest get_running_jobs_request = 1;
3682
+ */
3683
+ value: GetRunningAgentJobsRequest;
3684
+ case: "getRunningJobsRequest";
3685
+ } | {
3686
+ /**
3687
+ * @generated from field: livekit.agent.GetRunningAgentJobsResponse get_running_jobs_response = 2;
3688
+ */
3689
+ value: GetRunningAgentJobsResponse;
3690
+ case: "getRunningJobsResponse";
3691
+ } | { case: undefined; value?: undefined };
3692
+
3693
+ constructor(data?: PartialMessage<AgentDevMessage>);
1888
3694
 
1889
3695
  static readonly runtime: typeof proto3;
1890
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame";
3696
+ static readonly typeName = "livekit.agent.AgentDevMessage";
1891
3697
  static readonly fields: FieldList;
1892
3698
 
1893
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
3699
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDevMessage;
1894
3700
 
1895
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
3701
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDevMessage;
1896
3702
 
1897
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
3703
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDevMessage;
1898
3704
 
1899
- static equals(a: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined, b: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined): boolean;
3705
+ static equals(a: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined, b: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined): boolean;
1900
3706
  }
1901
3707
 
1902
3708
  /**
1903
- * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush
3709
+ * @generated from message livekit.agent.GetRunningAgentJobsRequest
1904
3710
  */
1905
- declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFlush extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> {
1906
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush>);
3711
+ declare class GetRunningAgentJobsRequest extends Message<GetRunningAgentJobsRequest> {
3712
+ constructor(data?: PartialMessage<GetRunningAgentJobsRequest>);
1907
3713
 
1908
3714
  static readonly runtime: typeof proto3;
1909
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush";
3715
+ static readonly typeName = "livekit.agent.GetRunningAgentJobsRequest";
1910
3716
  static readonly fields: FieldList;
1911
3717
 
1912
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
3718
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningAgentJobsRequest;
1913
3719
 
1914
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
3720
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningAgentJobsRequest;
1915
3721
 
1916
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
3722
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningAgentJobsRequest;
1917
3723
 
1918
- static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined): boolean;
3724
+ static equals(a: GetRunningAgentJobsRequest | PlainMessage<GetRunningAgentJobsRequest> | undefined, b: GetRunningAgentJobsRequest | PlainMessage<GetRunningAgentJobsRequest> | undefined): boolean;
1919
3725
  }
1920
3726
 
1921
3727
  /**
1922
- * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear
3728
+ * @generated from message livekit.agent.GetRunningAgentJobsResponse
1923
3729
  */
1924
- declare class AgentSessionMessage_ConsoleIO_AudioPlaybackClear extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> {
1925
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear>);
3730
+ declare class GetRunningAgentJobsResponse extends Message<GetRunningAgentJobsResponse> {
3731
+ /**
3732
+ * @generated from field: repeated livekit.agent.RunningAgentJobInfo jobs = 1;
3733
+ */
3734
+ jobs: RunningAgentJobInfo[];
3735
+
3736
+ constructor(data?: PartialMessage<GetRunningAgentJobsResponse>);
1926
3737
 
1927
3738
  static readonly runtime: typeof proto3;
1928
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear";
3739
+ static readonly typeName = "livekit.agent.GetRunningAgentJobsResponse";
1929
3740
  static readonly fields: FieldList;
1930
3741
 
1931
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
3742
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningAgentJobsResponse;
1932
3743
 
1933
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
3744
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningAgentJobsResponse;
1934
3745
 
1935
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
3746
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningAgentJobsResponse;
1936
3747
 
1937
- static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined): boolean;
3748
+ static equals(a: GetRunningAgentJobsResponse | PlainMessage<GetRunningAgentJobsResponse> | undefined, b: GetRunningAgentJobsResponse | PlainMessage<GetRunningAgentJobsResponse> | undefined): boolean;
1938
3749
  }
1939
3750
 
1940
3751
  /**
1941
- * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished
3752
+ * @generated from message livekit.agent.RunningAgentJobInfo
1942
3753
  */
1943
- declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFinished extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> {
1944
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished>);
3754
+ declare class RunningAgentJobInfo extends Message<RunningAgentJobInfo> {
3755
+ /**
3756
+ * @generated from field: bytes job = 1;
3757
+ */
3758
+ job: Uint8Array;
3759
+
3760
+ /**
3761
+ * @generated from field: string accept_name = 2;
3762
+ */
3763
+ acceptName: string;
3764
+
3765
+ /**
3766
+ * @generated from field: string accept_identity = 3;
3767
+ */
3768
+ acceptIdentity: string;
3769
+
3770
+ /**
3771
+ * @generated from field: string accept_metadata = 4;
3772
+ */
3773
+ acceptMetadata: string;
3774
+
3775
+ /**
3776
+ * @generated from field: string url = 5;
3777
+ */
3778
+ url: string;
3779
+
3780
+ /**
3781
+ * @generated from field: string token = 6;
3782
+ */
3783
+ token: string;
3784
+
3785
+ /**
3786
+ * @generated from field: string worker_id = 7;
3787
+ */
3788
+ workerId: string;
3789
+
3790
+ /**
3791
+ * @generated from field: bool mock_job = 8;
3792
+ */
3793
+ mockJob: boolean;
3794
+
3795
+ constructor(data?: PartialMessage<RunningAgentJobInfo>);
1945
3796
 
1946
3797
  static readonly runtime: typeof proto3;
1947
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished";
3798
+ static readonly typeName = "livekit.agent.RunningAgentJobInfo";
1948
3799
  static readonly fields: FieldList;
1949
3800
 
1950
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
3801
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunningAgentJobInfo;
1951
3802
 
1952
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
3803
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunningAgentJobInfo;
1953
3804
 
1954
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
3805
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunningAgentJobInfo;
1955
3806
 
1956
- static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined): boolean;
3807
+ static equals(a: RunningAgentJobInfo | PlainMessage<RunningAgentJobInfo> | undefined, b: RunningAgentJobInfo | PlainMessage<RunningAgentJobInfo> | undefined): boolean;
1957
3808
  }
1958
3809
 
1959
- type livekit_agent_session_pb_d_AgentConfigUpdate = AgentConfigUpdate;
1960
- declare const livekit_agent_session_pb_d_AgentConfigUpdate: typeof AgentConfigUpdate;
1961
- type livekit_agent_session_pb_d_AgentHandoff = AgentHandoff;
1962
- declare const livekit_agent_session_pb_d_AgentHandoff: typeof AgentHandoff;
1963
- type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
1964
- declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
1965
- type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
1966
- declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
1967
- type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEvent_AmdPrediction;
1968
- declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
1969
- type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
1970
- declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
1971
- type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
1972
- declare const livekit_agent_session_pb_d_AgentSessionEvent_Error: typeof AgentSessionEvent_Error;
1973
- type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted = AgentSessionEvent_FunctionToolsExecuted;
1974
- declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted: typeof AgentSessionEvent_FunctionToolsExecuted;
1975
- type livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech = AgentSessionEvent_OverlappingSpeech;
1976
- declare const livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech: typeof AgentSessionEvent_OverlappingSpeech;
1977
- type livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated = AgentSessionEvent_SessionUsageUpdated;
1978
- declare const livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated: typeof AgentSessionEvent_SessionUsageUpdated;
1979
- type livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed = AgentSessionEvent_UserInputTranscribed;
1980
- declare const livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed: typeof AgentSessionEvent_UserInputTranscribed;
1981
- type livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged = AgentSessionEvent_UserStateChanged;
1982
- declare const livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged: typeof AgentSessionEvent_UserStateChanged;
1983
- type livekit_agent_session_pb_d_AgentSessionMessage = AgentSessionMessage;
1984
- declare const livekit_agent_session_pb_d_AgentSessionMessage: typeof AgentSessionMessage;
1985
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO = AgentSessionMessage_ConsoleIO;
1986
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO: typeof AgentSessionMessage_ConsoleIO;
1987
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame = AgentSessionMessage_ConsoleIO_AudioFrame;
1988
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame: typeof AgentSessionMessage_ConsoleIO_AudioFrame;
1989
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear = AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
1990
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
1991
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished = AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
1992
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
1993
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush = AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
1994
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
1995
- type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
1996
- declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
1997
- type livekit_agent_session_pb_d_AgentState = AgentState;
1998
- declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
1999
- type livekit_agent_session_pb_d_AmdCategory = AmdCategory;
2000
- declare const livekit_agent_session_pb_d_AmdCategory: typeof AmdCategory;
2001
- type livekit_agent_session_pb_d_ChatContext = ChatContext;
2002
- declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
2003
- type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
2004
- declare const livekit_agent_session_pb_d_ChatContext_ChatItem: typeof ChatContext_ChatItem;
2005
- type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatContent;
2006
- declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
2007
- type livekit_agent_session_pb_d_ChatRole = ChatRole;
2008
- declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
2009
- type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
2010
- declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall;
2011
- type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput;
2012
- declare const livekit_agent_session_pb_d_FunctionCallOutput: typeof FunctionCallOutput;
2013
- type livekit_agent_session_pb_d_InterruptionModelUsage = InterruptionModelUsage;
2014
- declare const livekit_agent_session_pb_d_InterruptionModelUsage: typeof InterruptionModelUsage;
2015
- type livekit_agent_session_pb_d_LLMModelUsage = LLMModelUsage;
2016
- declare const livekit_agent_session_pb_d_LLMModelUsage: typeof LLMModelUsage;
2017
- type livekit_agent_session_pb_d_MetricsReport = MetricsReport;
2018
- declare const livekit_agent_session_pb_d_MetricsReport: typeof MetricsReport;
2019
- type livekit_agent_session_pb_d_ModelUsage = ModelUsage;
2020
- declare const livekit_agent_session_pb_d_ModelUsage: typeof ModelUsage;
2021
- type livekit_agent_session_pb_d_STTModelUsage = STTModelUsage;
2022
- declare const livekit_agent_session_pb_d_STTModelUsage: typeof STTModelUsage;
2023
- type livekit_agent_session_pb_d_SessionRequest = SessionRequest;
2024
- declare const livekit_agent_session_pb_d_SessionRequest: typeof SessionRequest;
2025
- type livekit_agent_session_pb_d_SessionRequest_GetAgentInfo = SessionRequest_GetAgentInfo;
2026
- declare const livekit_agent_session_pb_d_SessionRequest_GetAgentInfo: typeof SessionRequest_GetAgentInfo;
2027
- type livekit_agent_session_pb_d_SessionRequest_GetChatHistory = SessionRequest_GetChatHistory;
2028
- declare const livekit_agent_session_pb_d_SessionRequest_GetChatHistory: typeof SessionRequest_GetChatHistory;
2029
- type livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo = SessionRequest_GetFrameworkInfo;
2030
- declare const livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo: typeof SessionRequest_GetFrameworkInfo;
2031
- type livekit_agent_session_pb_d_SessionRequest_GetRTCStats = SessionRequest_GetRTCStats;
2032
- declare const livekit_agent_session_pb_d_SessionRequest_GetRTCStats: typeof SessionRequest_GetRTCStats;
2033
- type livekit_agent_session_pb_d_SessionRequest_GetSessionState = SessionRequest_GetSessionState;
2034
- declare const livekit_agent_session_pb_d_SessionRequest_GetSessionState: typeof SessionRequest_GetSessionState;
2035
- type livekit_agent_session_pb_d_SessionRequest_GetSessionUsage = SessionRequest_GetSessionUsage;
2036
- declare const livekit_agent_session_pb_d_SessionRequest_GetSessionUsage: typeof SessionRequest_GetSessionUsage;
2037
- type livekit_agent_session_pb_d_SessionRequest_Ping = SessionRequest_Ping;
2038
- declare const livekit_agent_session_pb_d_SessionRequest_Ping: typeof SessionRequest_Ping;
2039
- type livekit_agent_session_pb_d_SessionRequest_RunInput = SessionRequest_RunInput;
2040
- declare const livekit_agent_session_pb_d_SessionRequest_RunInput: typeof SessionRequest_RunInput;
2041
- type livekit_agent_session_pb_d_SessionResponse = SessionResponse;
2042
- declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse;
2043
- type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse;
2044
- declare const livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse: typeof SessionResponse_GetAgentInfoResponse;
2045
- type livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse = SessionResponse_GetChatHistoryResponse;
2046
- declare const livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse: typeof SessionResponse_GetChatHistoryResponse;
2047
- type livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse = SessionResponse_GetFrameworkInfoResponse;
2048
- declare const livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse: typeof SessionResponse_GetFrameworkInfoResponse;
2049
- type livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse = SessionResponse_GetRTCStatsResponse;
2050
- declare const livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse: typeof SessionResponse_GetRTCStatsResponse;
2051
- type livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse = SessionResponse_GetSessionStateResponse;
2052
- declare const livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse: typeof SessionResponse_GetSessionStateResponse;
2053
- type livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse = SessionResponse_GetSessionUsageResponse;
2054
- declare const livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse: typeof SessionResponse_GetSessionUsageResponse;
2055
- type livekit_agent_session_pb_d_SessionResponse_Pong = SessionResponse_Pong;
2056
- declare const livekit_agent_session_pb_d_SessionResponse_Pong: typeof SessionResponse_Pong;
2057
- type livekit_agent_session_pb_d_SessionResponse_RunInputResponse = SessionResponse_RunInputResponse;
2058
- declare const livekit_agent_session_pb_d_SessionResponse_RunInputResponse: typeof SessionResponse_RunInputResponse;
2059
- type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage;
2060
- declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage;
2061
- type livekit_agent_session_pb_d_TimedString = TimedString;
2062
- declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
2063
- type livekit_agent_session_pb_d_UserState = UserState;
2064
- declare const livekit_agent_session_pb_d_UserState: typeof UserState;
2065
- 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 };
3810
+ type livekit_agent_dev_pb_d_AgentDevMessage = AgentDevMessage;
3811
+ declare const livekit_agent_dev_pb_d_AgentDevMessage: typeof AgentDevMessage;
3812
+ type livekit_agent_dev_pb_d_GetRunningAgentJobsRequest = GetRunningAgentJobsRequest;
3813
+ declare const livekit_agent_dev_pb_d_GetRunningAgentJobsRequest: typeof GetRunningAgentJobsRequest;
3814
+ type livekit_agent_dev_pb_d_GetRunningAgentJobsResponse = GetRunningAgentJobsResponse;
3815
+ declare const livekit_agent_dev_pb_d_GetRunningAgentJobsResponse: typeof GetRunningAgentJobsResponse;
3816
+ type livekit_agent_dev_pb_d_RunningAgentJobInfo = RunningAgentJobInfo;
3817
+ declare const livekit_agent_dev_pb_d_RunningAgentJobInfo: typeof RunningAgentJobInfo;
3818
+ declare namespace livekit_agent_dev_pb_d {
3819
+ export { livekit_agent_dev_pb_d_AgentDevMessage as AgentDevMessage, livekit_agent_dev_pb_d_GetRunningAgentJobsRequest as GetRunningAgentJobsRequest, livekit_agent_dev_pb_d_GetRunningAgentJobsResponse as GetRunningAgentJobsResponse, livekit_agent_dev_pb_d_RunningAgentJobInfo as RunningAgentJobInfo };
2067
3820
  }
2068
3821
 
2069
3822
  // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
@@ -8594,6 +10347,13 @@ declare class ListEgressRequest extends Message<ListEgressRequest> {
8594
10347
  */
8595
10348
  active: boolean;
8596
10349
 
10350
+ /**
10351
+ * next field id: 5
10352
+ *
10353
+ * @generated from field: livekit.TokenPagination page_token = 4;
10354
+ */
10355
+ pageToken?: TokenPagination;
10356
+
8597
10357
  constructor(data?: PartialMessage<ListEgressRequest>);
8598
10358
 
8599
10359
  static readonly runtime: typeof proto3;
@@ -8618,6 +10378,13 @@ declare class ListEgressResponse extends Message<ListEgressResponse> {
8618
10378
  */
8619
10379
  items: EgressInfo[];
8620
10380
 
10381
+ /**
10382
+ * next field id: 3
10383
+ *
10384
+ * @generated from field: livekit.TokenPagination next_page_token = 2;
10385
+ */
10386
+ nextPageToken?: TokenPagination;
10387
+
8621
10388
  constructor(data?: PartialMessage<ListEgressResponse>);
8622
10389
 
8623
10390
  static readonly runtime: typeof proto3;
@@ -11196,6 +12963,14 @@ declare class RoomParticipantIdentity extends Message<RoomParticipantIdentity> {
11196
12963
  */
11197
12964
  identity: string;
11198
12965
 
12966
+ /**
12967
+ * Unix timestamp used to invalidate token whose nbf is before this value.
12968
+ * Used only by RemoveParticipant; defaults to now(server)+leeway(1min) if left empty.
12969
+ *
12970
+ * @generated from field: int64 revoke_token_ts = 3;
12971
+ */
12972
+ revokeTokenTs: bigint;
12973
+
11199
12974
  constructor(data?: PartialMessage<RoomParticipantIdentity>);
11200
12975
 
11201
12976
  static readonly runtime: typeof proto3;
@@ -12594,6 +14369,13 @@ declare class SIPMediaConfig extends Message<SIPMediaConfig> {
12594
14369
  */
12595
14370
  encryption?: SIPMediaEncryption;
12596
14371
 
14372
+ /**
14373
+ * Use specific media timeout. If zero or not specified, will use default timeout.
14374
+ *
14375
+ * @generated from field: optional google.protobuf.Duration media_timeout = 4;
14376
+ */
14377
+ mediaTimeout?: Duration;
14378
+
12597
14379
  constructor(data?: PartialMessage<SIPMediaConfig>);
12598
14380
 
12599
14381
  static readonly runtime: typeof proto3;
@@ -12906,6 +14688,11 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
12906
14688
  */
12907
14689
  authPassword: string;
12908
14690
 
14691
+ /**
14692
+ * @generated from field: string auth_realm = 19;
14693
+ */
14694
+ authRealm: string;
14695
+
12909
14696
  /**
12910
14697
  * Include these SIP X-* headers in 200 OK responses.
12911
14698
  *
@@ -13018,6 +14805,11 @@ declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate> {
13018
14805
  */
13019
14806
  authPassword?: string;
13020
14807
 
14808
+ /**
14809
+ * @generated from field: optional string auth_realm = 9;
14810
+ */
14811
+ authRealm?: string;
14812
+
13021
14813
  /**
13022
14814
  * @generated from field: optional string name = 6;
13023
14815
  */
@@ -14283,6 +16075,27 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
14283
16075
  */
14284
16076
  trunk?: SIPOutboundConfig;
14285
16077
 
16078
+ /**
16079
+ * INVITE <uri>
16080
+ *
16081
+ * @generated from field: livekit.SIPRequestDest sip_request_uri = 24;
16082
+ */
16083
+ sipRequestUri?: SIPRequestDest;
16084
+
16085
+ /**
16086
+ * To: "Name" <uri>
16087
+ *
16088
+ * @generated from field: livekit.SIPNamedDest sip_to_header = 25;
16089
+ */
16090
+ sipToHeader?: SIPNamedDest;
16091
+
16092
+ /**
16093
+ * From: "Name" <uri>
16094
+ *
16095
+ * @generated from field: livekit.SIPNamedDest sip_from_header = 26;
16096
+ */
16097
+ sipFromHeader?: SIPNamedDest;
16098
+
14286
16099
  /**
14287
16100
  * What number should be dialed via SIP
14288
16101
  *
@@ -14432,7 +16245,7 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
14432
16245
  displayName?: string;
14433
16246
 
14434
16247
  /**
14435
- * NEXT ID: 24
16248
+ * NEXT ID: 27
14436
16249
  *
14437
16250
  * @generated from field: optional livekit.Destination destination = 22;
14438
16251
  */
@@ -14814,6 +16627,87 @@ declare class SIPUri extends Message<SIPUri> {
14814
16627
  static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
14815
16628
  }
14816
16629
 
16630
+ /**
16631
+ * @generated from message livekit.SIPRequestDest
16632
+ */
16633
+ declare class SIPRequestDest extends Message<SIPRequestDest> {
16634
+ /**
16635
+ * @generated from oneof livekit.SIPRequestDest.uri
16636
+ */
16637
+ uri: {
16638
+ /**
16639
+ * <sip:user@sip.example.com:5060;transport=tcp>
16640
+ *
16641
+ * @generated from field: string raw = 1;
16642
+ */
16643
+ value: string;
16644
+ case: "raw";
16645
+ } | {
16646
+ /**
16647
+ * @generated from field: livekit.SIPUri values = 2;
16648
+ */
16649
+ value: SIPUri;
16650
+ case: "values";
16651
+ } | { case: undefined; value?: undefined };
16652
+
16653
+ constructor(data?: PartialMessage<SIPRequestDest>);
16654
+
16655
+ static readonly runtime: typeof proto3;
16656
+ static readonly typeName = "livekit.SIPRequestDest";
16657
+ static readonly fields: FieldList;
16658
+
16659
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPRequestDest;
16660
+
16661
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPRequestDest;
16662
+
16663
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPRequestDest;
16664
+
16665
+ static equals(a: SIPRequestDest | PlainMessage<SIPRequestDest> | undefined, b: SIPRequestDest | PlainMessage<SIPRequestDest> | undefined): boolean;
16666
+ }
16667
+
16668
+ /**
16669
+ * @generated from message livekit.SIPNamedDest
16670
+ */
16671
+ declare class SIPNamedDest extends Message<SIPNamedDest> {
16672
+ /**
16673
+ * @generated from field: string display_name = 3;
16674
+ */
16675
+ displayName: string;
16676
+
16677
+ /**
16678
+ * @generated from oneof livekit.SIPNamedDest.uri
16679
+ */
16680
+ uri: {
16681
+ /**
16682
+ * <sip:user@sip.example.com:5060;transport=tcp>
16683
+ *
16684
+ * @generated from field: string raw = 1;
16685
+ */
16686
+ value: string;
16687
+ case: "raw";
16688
+ } | {
16689
+ /**
16690
+ * @generated from field: livekit.SIPUri values = 2;
16691
+ */
16692
+ value: SIPUri;
16693
+ case: "values";
16694
+ } | { case: undefined; value?: undefined };
16695
+
16696
+ constructor(data?: PartialMessage<SIPNamedDest>);
16697
+
16698
+ static readonly runtime: typeof proto3;
16699
+ static readonly typeName = "livekit.SIPNamedDest";
16700
+ static readonly fields: FieldList;
16701
+
16702
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPNamedDest;
16703
+
16704
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPNamedDest;
16705
+
16706
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPNamedDest;
16707
+
16708
+ static equals(a: SIPNamedDest | PlainMessage<SIPNamedDest> | undefined, b: SIPNamedDest | PlainMessage<SIPNamedDest> | undefined): boolean;
16709
+ }
16710
+
14817
16711
  /**
14818
16712
  * @generated from message livekit.Destination
14819
16713
  */
@@ -15929,6 +17823,11 @@ declare enum FeatureUsageInfo_Feature {
15929
17823
  * @generated from enum value: AIC_AUDIO_ENHANCEMENT = 2;
15930
17824
  */
15931
17825
  AIC_AUDIO_ENHANCEMENT = 2,
17826
+
17827
+ /**
17828
+ * @generated from enum value: KRISP_VIVA = 3;
17829
+ */
17830
+ KRISP_VIVA = 3,
15932
17831
  }
15933
17832
 
15934
17833
  /**
@@ -19874,4 +21773,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
19874
21773
 
19875
21774
  declare const version: string;
19876
21775
 
19877
- export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d 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 };
21776
+ export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, livekit_agent_dev_pb_d as AgentDev, AgentDispatch, AgentDispatchState, livekit_agent_inference_pb_d as AgentInference, livekit_agent_session_pb_d as AgentSession, livekit_agent_text_pb_d as AgentText, 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, SIPNamedDest, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPRequestDest, 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 };